curl --request GET \
--url https://api.getcargo.io/v1/workspaceManagement/roles/{uuid} \
--header 'Authorization: Bearer <token>'{
"role": {
"uuid": "<string>",
"slug": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"workspaceUuid": "<string>",
"createdAt": "<string>"
}
}Get a role by UUID
curl --request GET \
--url https://api.getcargo.io/v1/workspaceManagement/roles/{uuid} \
--header 'Authorization: Bearer <token>'{
"role": {
"uuid": "<string>",
"slug": "<string>",
"permissions": [
{
"effect": "allow",
"resources": [
"<string>"
],
"actions": [
"ai:agent:*"
]
}
],
"workspaceUuid": "<string>",
"createdAt": "<string>"
}
}Was this page helpful?