Update constraint policy (PATCH semantics — full replace of editable fields)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
uuid
required
Body Params
string
required
length between 0 and 255

Human-readable policy name, unique at tenant level (convention only)

string
int64
≥ 0

Total invocation ceiling. Null = unlimited. Must not be negative — a negative value is rejected with 422 by the domain rules in ConstraintPolicyService, NOT by Bean Validation, so exactly one layer decides the status. Enforced atomically via Redis INCR + compare (FR-21).

date-time

Policy becomes active at this instant. Null = effective immediately.

date-time

Policy expires at this instant. Null = never expires.

int32
≥ 0

Sliding-window rate ceiling per minute. 0 = fully blocked (emergency freeze). Null = no rate limit. Do not conflate (FR-24). Must not be negative — rejected with 422 by the domain rules, not by Bean Validation.

boolean
Defaults to false

When true, the first successful use of any grant referencing this policy soft-deletes that grant (single-use semantics, Refuerzo 1). Optional: omitting it is equivalent to false.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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