GET
/
enterprise
/
api
/
v1
/
roles
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"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
A JSON array of roles
data
object[]