Pular para o conteúdo principal
POST
Request a user deletion (maker)

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

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.

Corpo

application/json

Raise a four-eyes deletion request for a user.

userId
string
obrigatório

The target user to delete.

Exemplo:

"42"

note
string

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

Resposta

Created

at
string<date-time>
obrigatório

When the latest event was recorded (RFC 3339).

operator
object
obrigatório

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

state
enum<string>
obrigatório

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

Opções disponíveis:
requested,
approved,
rejected,
failed
Exemplo:

"requested"

userId
string
obrigatório

The target user the workflow is about.

Exemplo:

"42"

note
string

Optional operator-authored reason.

Exemplo:

"offboarding after a role change"