cURL
curl -X GET "https://app.cotool.ai/api/roles/:id/perms" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "perms": [ { "resource": { "type": "<string>" }, "action": "<string>" } ] }
Get the permissions for a specific role
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
Successful response
Show child attributes
Was this page helpful?