Authorize an agent
Authorizes an agent in a specified account. Use this to grant the agent the necessary permissions to perform actions on behalf of the account.
HTTP method and endpoint
POST /tenancy/authorize-agent-in-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.
Usage notes
Authorizes an agent in a specified account.
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 |