Mailboxes / Oauth validate
Test credentials.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/mailboxes/oauth_validate
Method: POST
Authorisation: Minimum role: ADMIN
Request Arguments
Name | Type | Source |
---|---|---|
input | DTO_mailbox_oauth2_validation_input | Body |
Request body example
Response object
Response status: 200 (OK)
Response type: DTO_mailbox_oauth2_validation_response[]
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_mailbox_oauth2_validation_input
Name | Type | ReadOnly | Description |
---|---|---|---|
identifier | String | Identifier | |
String | Optional. If the user has multiple mailboxes, this is the mailbox that the user wants to use. |
DTO_mailbox_oauth2_validation_response
Name | Type | ReadOnly | Description |
---|---|---|---|
success | Boolean | Success | |
String | |||
error_message | String | Error message | |
authorized_account | String | Authorized account |