Saltar al contenido principal
DELETE
https://{tenantDomain}/api/v2
/
roles
/
{id}
/
groups
Quitar grupos de un rol
curl --request DELETE \
  --url https://{tenantDomain}/api/v2/roles/{id}/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "groups": [
    "<string>"
  ]
}
'

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

id
string
requerido

Identificador único del rol (generado por el servicio).

Cuerpo

groups
string[]
requerido

Array de ID de grupos que se quitarán del rol.

Minimum array length: 1

Identificador único del grupo (generado por el servicio).

Required string length: 18 - 26
Pattern: ^grp_[1-9a-km-zA-HJ-NP-Z]{14,22}$

Respuesta

Grupos eliminados del rol correctamente.