Saltar al contenido principal
GET
/
v1
/
people
/
roles
/
{roleId}
Get a role with its permissions
curl --request GET \
  --url https://api.bold-factory.com/v1/people/roles/{roleId} \
  --header 'Authorization: Bearer <token>'
{
  "role": {
    "id": "<string>",
    "name": "<string>",
    "key": "<string>",
    "description": "<string>",
    "systemRole": true
  },
  "permissions": [
    {
      "id": "<string>",
      "name": "<string>",
      "key": "<string>",
      "description": "<string>"
    }
  ]
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

roleId
string
requerido

Respuesta

OK

role
object
requerido
permissions
object[]
requerido