Authorize an agent workspace
Contributors
Suggest changes
POST /tenancy/authorize-agent-workspace
Authorize an agent in a workspace.
Token usage: BlueXP user token.
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 |