limits

Create Spend Limit

Create a team, member, or API-key limit, or a team percentage alert.

post/v2/limits

Request body

api_key_idstring uuid nullable
membership_idinteger nullable
parent_limit_idstring uuid nullable
interval'week' | 'month' required
action'alert' | 'block' required
enabledboolean

Response

Successful Response

idstring uuid required
api_key_idstring uuid nullable required
api_key_namestring nullable required
membership_idinteger nullable required
member_namestring nullable required
parent_limit_idstring uuid nullable required
threshold_percentstring nullable required
interval'week' | 'month' required
amount_usdstring required
action'alert' | 'block' required
enabledboolean required
spend_usdstring required
period_startstring required
period_endstring required
editableboolean required

Changes

No recorded changes to this endpoint across all 1 revision of this API.