Skip to main content
GET
/
v1
/
roles
/
{id}
Get role by ID
curl --request GET \
  --url http://localhost:3000/v1/roles/{id}
{
  "role": {
    "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>"
      }
    ]
  }
}

Path Parameters

id
string<uuid>
required

Response

Role details with permissions

role
object
required