Deletes a specific policy object for the authenticated user.
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/policies/12345?o=0000" $response = (Invoke-WebRequest -Method Delete -Uri $url -Headers $headers).Content
{- "errors": [
- "string"
]
}