Skip to content

RolesController_getRole

GET
/roles/{id}
curl --request GET \
--url https://example.com/roles/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'x-tenant-schema: example' \
--cookie session=<session>
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
x-tenant-schema
required
string

The tenant of the request.

The role, without the fields the caller may not read.

Media typeapplication/json
object
id
string
name
string
Examplegenerated
{
"id": "example",
"name": "example"
}