Skip to content
Get started

List

GET/roles

Lists all roles for the workspace

ReturnsExpand Collapse
data: array of object { id, role }
id: string

Unique role ID

role: string

Name of the role

List

curl https://api.us-west-2.fragment.dev/roles
{
  "data": [
    {
      "id": "role_abc123",
      "role": "admin"
    }
  ]
}
Returns Examples
{
  "data": [
    {
      "id": "role_abc123",
      "role": "admin"
    }
  ]
}