Skip to main content
PUT
Set usage limits (editor; audited)

Authorizations

Authorization
string
header
required

JWT token that the Lerian Access Manager issues for your institution. Send it in Authorization: Bearer <token> on every call (except the public health probes). The tenant never comes from the body, the query, or the path. Each operation requires a role with the matching permission (see the API overview). Without it, 403 TED-0071. Missing, invalid, or expired token: 401 TED-0070.

Headers

X-TTL
integer

Replay window of the idempotency key, in seconds. Default 300 (5 minutes) when missing or invalid. Values outside 30 s to 7 days are adjusted to these limits. Only the value of the FIRST request for a key counts. A change to X-TTL on retries has no effect. The window sets how long the response is replayed.

Required range: x >= 1
X-Idempotency
string
required

Idempotency key of the change. Required: a request without it is refused with 400 TED-0011.

X-Request-Id
string<uuid>

Correlation identifier of this request (UUID). Optional: when you omit it, or when the value is not a well-formed UUID, the platform creates a UUID and returns it in the X-Request-Id header of the response. The resolved identifier goes to the logs, spans, and audit events of this request. Keep it to open a support ticket.

Body

application/json

Usage limits of the institution per account: maximum amount per transfer, per business day, and per month. A missing limit sets no cap.

enabled
boolean
required

If the limits apply. With false, the service does not count or refuse send requests.

dailyMax
string

Maximum amount (BRL, two decimal places) per source account per calendar day (Brasília time). Absent = no cap.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

monthlyMax
string

Maximum amount (BRL, two decimal places) for each source account per calendar month (Brasília time). Missing = no ceiling.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

perTransactionMax
string

Maximum amount (BRL, two decimal places) of one transfer, fee included. Absent = no cap.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

Response

Configuration saved and audited; the body returns the current configuration.

Usage limits of the institution per account: maximum amount per transfer, per business day, and per month. A missing limit sets no cap.

enabled
boolean
required

If the limits apply. With false, the service does not count or refuse send requests.

dailyMax
string

Maximum amount (BRL, two decimal places) per source account per calendar day (Brasília time). Absent = no cap.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

monthlyMax
string

Maximum amount (BRL, two decimal places) for each source account per calendar month (Brasília time). Missing = no ceiling.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

perTransactionMax
string

Maximum amount (BRL, two decimal places) of one transfer, fee included. Absent = no cap.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Example:

"1500.00"

updatedAt
string<date-time>
read-only

Instant (UTC) of the last write. Ignored on write.

updatedBy
string
read-only

Who wrote it last. Ignored on write; it comes from the authenticated identity.