curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/users/{uuid}/removePermission \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resourceUuid": "<string>",
"effect": "allow"
}
'{
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
]
}Remove a permission from a user
curl --request POST \
--url https://api.getcargo.io/v1/workspaceManagement/users/{uuid}/removePermission \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resourceUuid": "<string>",
"effect": "allow"
}
'{
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Successful response
Show child attributes
Was this page helpful?