Prisma

Get role

Get a role by ID.

GET
/api/v1/admin/platform-roles/{role_id}

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

role_id*Role Id

Role ID

Formatuuid

Response Body

application/json

application/json

curl -X get "https://prisma.your-company.com/api/v1/admin/platform-roles/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "display_name": "string",
  "description": "string",
  "scope": "organization",
  "hierarchy_value": 0,
  "is_system": true,
  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
  "parent_role_id": "7ea77ce3-4218-4d39-ad84-02444a2f4ee7",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}