Skip to main content
GET
Check role exists by slug

Authorizations

Authorization
string
header
required

API token from cargo-ai login. Send as Authorization: Bearer <token>.

Query Parameters

slug
string
required

Role slug to check.

Required string length: 1 - 63
Pattern: ^[a-z0-9]+(_[a-z0-9]+)*$

Response

Check role exists by slug

exists
boolean
required

Whether the role exists.