Skip to content

Revoke a host privilege

Request

Revoke the specified privilege, denying the associated user all permissions to manage the host account.

Security
SessionKey(Required scopes: customeradministrator)
Path
hostintegerrequired

Unique identifier of the requested host

privilegeintegerrequired

Unique identifier of the requested privilege resource

curl -i -X DELETE \
  'https://docs.ticketingevents.com/_mock/openapi/hosts/{host}/privileges/{privilege}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The host privilege was successfully revoked.

Bodyapplication/json
messagestring

Reason for the given response.

Response
{ "message": "privilege: /hosts/16951985851389/privileges/18294757620193, has been revoked." }