Set a project's spending cap
Projects
Set a project's spending cap
Set the project’s spending cap. Only the project owner can call this today. Cap must not exceed the relevant credit pool (shared team’s pool for team-shared projects, owner’s user pool for solo projects). Use DELETE on this path to clear the cap.
PATCH
Set a project's spending cap
Authorizations
JWT authentication token
Path Parameters
Project ID
Body
application/json
Absolute USD cap (>= 0); 0 blocks all spend on this project. Required — a null or omitted value is rejected (400). To clear, use DELETE.
Required range:
x >= 0Response
Spending cap updated

