Skip to content

Set one member's AI limit

PUT
/api/billing/member-limits/{userId}
curl --request PUT \
--url https://met.cards/api/billing/member-limits/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "capMicros": "15000000" }'

‘-1’ gives the member no limit; null makes them follow the default again. Recorded in the audit log.

userId
required
string
Media typeapplication/json
object
capMicros
required

This member’s monthly AI limit in micro-dollars, as a string; ‘-1’ for no limit; null to follow the workspace default.

string
nullable
Example
15000000
Media typeapplication/json
object
Examplegenerated
{}