Saltar al contenido principal
POST
Reject a user-delete request (checker)

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Authorization
string

Bearer JWT. Must be a normal-user principal: an application token is refused with 403, and any other token type is refused with 401 at the gate. The CHECKER identity is derived from THIS token; it MUST differ from the requester (four-eyes).

Parámetros de ruta

userId
string
requerido

The target user whose pending delete request is being decided.

Ejemplo:

"42"

Cuerpo

application/json

Optional decision note.

note
string

Optional decision reason (≤500 chars).

Respuesta

OK

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"