Add Permissions to a User
Grants permissions straight to one person, bypassing roles and groups.
Reach for this last. A direct grant has to be revoked person by person. The maintainable path is to grant the role to a group and manage membership.
Granting a permission the person already holds directly is not an error. On success the response has no body (204).
Failures:
400—permissionsis missing or empty.404— no such user in your organization, or one of the permissions does not exist.422 IDE-1061— a permission is reserved for machine credentials; no person may hold it. Removing it stays open.503 IDE-0066— the identity provider is unavailable (unreachable, too slow to answer, or failing). Nothing about the request was wrong; retry it later.
POST
Add Permissions to a User
Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
User ID.
Ejemplo:
"00000000-0000-0000-0000-000000000000"
Cuerpo
application/json
The permissions to grant to the user.
Permission identifiers.
Minimum array length:
1Respuesta
No Content

