Skip to main content
GET
/
workspaceManagement
/
roles
/
{uuid}
Get role
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uuid
string
required

Resource UUID

Response

Successful response

role
object
required