Remove user from account.

Remove user from account, revoking access to all zones.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>

Account ID to retrieve users for.

userId
required
string <uuid>

ID of user to delete.

Responses
204

Successful Operation - No Content

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

delete/accounts/{accountId}/users/{userId}
Request samples
$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
Response samples
application/json
{
  • "errors": [
    • "string"
    ]
}