Atualizar controle

Substitui o controle inteiro (PUT /spending-controls/v1/controls/{id}).

Assíncrono: retorna 202. Use requestId da resposta para acompanhar.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
uuid
required
Body Params

Cria um controle Pix Spending Controls. Resposta 202 Accepted (assíncrono — acompanhe via GET /pix-spending-limits/requests/{requestId}).

string
required

Nome do controle a atribuir ao escopo.

string

Motivo livre da atribuição.

string

Chave de idempotência ponta-a-ponta. Se omitida, a Autra gera UUID v4 e devolve em businessKey no response.

period
object

Vigência da atribuição do controle.

rules
array of objects
required
length ≥ 1
rules*
attributes
object

Atributos chave-valor da atribuição (ex.: channel, tenant).

metadata
object

Metadados extras (ex.: requested_by, ticket_id).

Headers
string
Responses
200

Atualização aceita (passthrough Autra).

403

Token inválido.

404

CONTROL_NOT_FOUND ou PERSON_NOT_FOUND.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json