v1

latestSwagger 2.02026-07-134146194.6 MB
Authorizations

Updates the start or end date for a user authorization.

Updates the start and/or end date for a given user authorization. Specify the user authorization and principal user with the path parameters.

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

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

Path parameters

accountIdstring required

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

authorizationIdstring required

The ID of the user authorization.

userIdstring required

The ID of the principal user.

Request body

endDatestring

The end date for the user authorization. The default value is the max UTC value: 9999-12-31T23:59:59.0000000+00:00.

startDatestring

The start date for the user authorization. The default value is the current date and time.

Response

Successful response.