Skip to main content
GET
Recuperar um papel

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

organization_id
string
obrigatório

Identificador da organização.

Required string length: 24
Pattern: ^[0-9a-f]{24}$
role_id
string
obrigatório

Identificador do papel.

Required string length: 24
Pattern: ^[0-9a-f]{24}$

Resposta

Detalhes do papel do usuário recuperados com sucesso.

id
string
obrigatório

Identificador do papel.

Required string length: 24
Pattern: ^[0-9a-f]{24}$
name
string
obrigatório

Nome do papel.

organization_id
string
obrigatório

Identificador da organização associada a este papel.

Required string length: 24
Pattern: ^[0-9a-f]{24}$
created_at
string<date-time>
obrigatório

Carimbo de tempo de criação do papel em formato ISO 8601.

created_by
string | null
obrigatório

Identificador do usuário que criou o papel.

Required string length: 24
Pattern: ^[0-9a-f]{24}$
permissions
object[] | null

Entradas de permissões configuradas para este papel.