LimitPlan

Save a plan's rule body

Replaces the plan's limits; when the plan is active every assignment that references it is re-pushed at once. Optional version: a plan changed meanwhile is 409 lifecycleConflict with reason limit.plan.staleVersion. Targeted limits name their targets by name; an unknown name is 400 malformedRequest with reason limit.plan.targetNotFound. An AI token limit below 1 or a USD limit of 0 or less is 400 malformedRequest with reason limit.plan.ceilingNotPositive.

put/apiops/projects/{projectName}/limit-plans/{planKey}/rule-spec

Request

Path parameters

projectNamestring required
planKeystring required

Request body

changeReasonstring
versioninteger

Response

OK

planKeystring
family'REQUEST_RATE' | 'AI_TOKEN_BUDGET'
namestring
nameTrstring
descriptionstring
labelsstring[]
activeboolean
deployedboolean
platformScopedboolean
managedBySubscriptionPlanIdstring
managedBySubscriptionPlanNamestring
versioninteger

Changes

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