Saltar al contenido principal
POST
Request a user deletion (maker)

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Authorization
string

Bearer JWT. A normal-user or an application principal may request a deletion; only a normal-user may decide one. The MAKER identity recorded on the request is derived from THIS token, never the body.

Cuerpo

application/json

Raise a four-eyes deletion request for a user.

userId
string
requerido

The target user to delete.

Ejemplo:

"42"

note
string

Optional reason (≤500 chars). Operator free-text only.

Respuesta

Created

at
string<date-time>
requerido

When the latest event was recorded (RFC 3339).

operator
object
requerido

Server-extracted operator who recorded the latest event (the maker on 'requested'; the checker otherwise).

state
enum<string>
requerido

Latest workflow action: 'requested' (pending a checker), 'approved' (deleted), 'rejected', or 'failed' (execution failed, retryable).

Opciones disponibles:
requested,
approved,
rejected,
failed
Ejemplo:

"requested"

userId
string
requerido

The target user the workflow is about.

Ejemplo:

"42"

note
string

Optional operator-authored reason.

Ejemplo:

"offboarding after a role change"