Authorizations

Returns the user authorization for a given authorization ID

GET
/v2.1/accounts/{accountId}/users/{userId}/authorization/{authorizationId}

Returns the details for the user authorization specified by the authorizationId.

To call this endpoint, you must be an account administrator or you must be the principal user for the specified authorization.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

authorizationId*string

The ID of the user authorization.

userId*string

The ID of the principal user.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/users/string/authorization/string"
{  "agentUser": {    "accountId": "string",    "email": "string",    "name": "string",    "userId": "string"  },  "authorizationId": "string",  "created": "string",  "createdBy": "string",  "endDate": "string",  "modified": "string",  "modifiedBy": "string",  "permission": "string",  "principalUser": {    "accountId": "string",    "email": "string",    "name": "string",    "userId": "string"  },  "startDate": "string",  "taskSource": "string",  "taskType": "string"}