Pular para o conteúdo principal
POST
/
v1
/
governance
/
actor-mappings
/
{actorId}
/
pseudonymize
Pseudonymize an actor
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/governance/actor-mappings/{actorId}/pseudonymize \
  --header 'Authorization: Bearer <token>'
{
  "code": "404",
  "title": "not_found",
  "message": "context not found",
  "error": "<string>"
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Cabeçalhos

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency-Key
string

Optional idempotency key for safe retries. Also accepts Idempotency-Key as an alternative header name. If the same key is sent again and the original request was already processed, the cached response is returned with X-Idempotency-Replayed: true.

See Retries and idempotency for details.

Parâmetros de caminho

actorId
string
obrigatório

The actor identifier to pseudonymize.

Resposta

Actor successfully pseudonymized.

The response includes the X-Idempotency-Replayed header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See Retries and idempotency for more details.