cURL
curl --request GET \ --url https://api.squared.ai/enterprise/api/v1/roles \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "1", "type": "roles", "attributes": { "role_name": "Admin", "role_desc": "An Admin can add and manage Sources, Destinations, Models, Syncs, and Workspaces.", "policies": { "permissions": {} }, "updated_at": "2024-08-01T10:03:39.086Z", "created_at": "2024-08-01T10:03:39.021Z" } } ] }
Retrieves a list of all roles available.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A JSON array of roles
The response is of type object.
object
Was this page helpful?