Skip to content

Retrieve host privilege

Request

Retrieve details of the specified privilege.

Security
SessionKey(Required scopes: customeradministrator)
Path
hostintegerrequired

Unique identifier of the requested host

privilegeintegerrequired

Unique identifier of the requested privilege resource

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

Responses

Details of the requested privilege were successfully retrieved.

Bodyapplication/json
selfstringrequired

URI of the privilege resource.

userstring, (email)required

Email adddress of the user to which this privilege belongs.

roleobjectrequired

The role assigned to the specified user by this privilege.

typestringrequired

Resource type to which this privilege grants access.

Enum:"Host""Event"
resourcestring^[0-9]{14}$required

Unique identifier of the resource to which this privilege grants access.

pendingbooleanrequired

True if the privileged user needs to signup for a TickeTing account, false if not.

Response
{ "self": "/hosts/16951985851389/privileges/18294757620193", "user": "billy.butcher@fbsa.gov", "role": { "name": "Administrator", "permissions": [] }, "type": "host", "resource": 16993717817996, "pending": false }