Skip to main content
GET
/
v1
/
roles
List all roles
curl --request GET \
  --url http://localhost:3000/v1/roles
{
  "roles": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "is_system": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "permissions": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "description": "<string>",
          "resource": "<string>",
          "action": "<string>"
        }
      ]
    }
  ]
}

Response

List of roles with permissions

roles
object[]
required