Authorize an agent workspace
Authorizes an agent workspace. Use this to grant an agent access within a specific workspace.
HTTP method and endpoint
POST /tenancy/authorize-agent-workspace
Token usage
BlueXP user token.
Usage notes
Authorize an agent in a workspace.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
authorization |
string |
header |
True |
Authorization JWT access token |
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
agentId |
string |
True |
|
workspacePublicId |
string |
True |
|
action |
string |
True |
Example request
{
"agentId": "string",
"workspacePublicId": "string",
"action": "string"
}
Response
Status: 200, Default response
Definitions
See Definitions
body
| Name | Type | Required | Description |
|---|---|---|---|
agentId |
string |
True |
|
workspacePublicId |
string |
True |
|
action |
string |
True |