Authorize an agent
Contributors
Suggest changes
POST /tenancy/authorize-agent-in-account
Authorizes an agent in a specified account.
Token usage: Both a BlueXP user token and service token. Pass the user token in the Authorization request header and the service token in the X-Agent-Token request header.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
Authorization |
string |
header |
True |
|
X-Agent-Token |
string |
header |
True |
|
X-Service-Request-Id |
string |
header |
False |
Request Body
Name | Type | Required | Description |
---|---|---|---|
accountId |
string |
True |
Example request
{
"accountId": "string"
}
Response
Status: 200, Default response
Definitions
See Definitions
body
Name | Type | Required | Description |
---|---|---|---|
accountId |
string |
True |