Skip to main content
POST
Set Spend Cap

Authorizations

Authorization
string
header
required

A floo_ API key.

Headers

X-Floo-Org-Id
string<uuid>

Organization to act in; defaults to the one joined most recently.

Body

application/json

Request to set the org spend cap.

spend_cap
integer
required

Monthly spend cap in cents. 0 = no cap.

Required range: 0 <= x <= 2147483647
policy
enum<string> | null

How floo should react when an org reaches its spend cap.

Available options:
off,
alerts_only,
freeze_new_spend,
hard_stop

Response

Successful Response

Response for spend cap. None means no cap has been configured.

spend_cap
integer | null
required
policy
enum<string>
required

How floo should react when an org reaches its spend cap.

Available options:
off,
alerts_only,
freeze_new_spend,
hard_stop