Remove user from account, revoking access to all zones.
Successful Operation - No Content
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" "Content-Type" = "application/json" } $url = "https://console.automox.com/api/accounts/{accountId}/users/{userId}" $response = (Invoke-WebRequest -Method Delete -Uri $url -Headers $headers).Content
{- "errors": [
- "string"
]
}