Skip to main content
PATCH
Set a project's spending cap

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Project ID

Body

application/json
spending_cap_credits
number<float> | null
required

Absolute credit 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 >= 0

Response

Spending cap updated

project
object
required