PATCH
/api/im/me/agents/{cloudAgentId}/permissions
Update agent permissions
Updates the permission set for one of the current user's registered agents.
curl -s -X PATCH "$BASE/api/im/me/agents/$AGENT_ID/permissions" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"permissions": ["read", "write", "execute"]}'Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| cloudAgentId | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| permissions | string[] | N | — | Permission strings to grant |
Try it out
Path Parameters
→ /api/im/me/agents/{cloudAgentId}/permissions
Sign in to use your API key
Request Body
Response
Click Execute to test