LimitAssignment

Create a limit assignment

Binds a subject to a plan or a custom rule on a target (201 + Location). Requires the Idempotency-Key header; status DRAFT or ACTIVE (default ACTIVE per the service).

post/apiops/projects/{projectName}/limit-assignments

Request

Path parameters

projectNamestring required

Request body

status'DRAFT' | 'ACTIVE' | 'ENDED'
versioninteger

Response

OK

bindingKeystring
family'REQUEST_RATE' | 'AI_TOKEN_BUDGET'
actorScope'ANY' | 'AUTHENTICATED' | 'ANONYMOUS'
mode'PLAN' | 'CUSTOM' | 'INHERIT' | 'OFF'
planKeysstring[]
cacheErrorHandlingType'FAIL' | 'CONTINUE'
cacheConnectionTimeoutInSecondsinteger
showRateLimitStatisticsInResponseHeaderboolean
customMessageTemplatestring
customMessageContentTypestring
customMessageHttpStatusCodeinteger
source'MANUAL' | 'CREATION_DEFAULT' | 'BULK' | 'MIGRATION' | 'IMPORT' | 'PORTAL_SUBSCRIPTION'
status'DRAFT' | 'ACTIVE' | 'ENDED'
validFromstring date-time
validUntilstring date-time
assignedAtstring date-time
assignedBystring
endedAtstring date-time
endedBystring
endedReasonstring
operatorOverrideboolean
versioninteger
bulkRunIdstring
replacedBindingKeystring
assignmentMode'SELF' | 'DESCENDANTS'
inheritTo'PLATFORM' | 'PROJECT' | 'ORGANIZATION' | 'CONSUMER' | 'APPLICATION' | 'API_CLIENT' | 'API_PROXY' | 'AUDIENCE_RULE'

Changes

No recorded changes to this operation across all 21 revisions of this API.