AI Credit Controls
Set individual users' AI credit limits
Set individual users' AI credit limits in bulk. Each entry names a user and either sets an individual limit or removes one so the user follows the organization default. All entries are applied in a single transaction.
patch/v1/ai/credit-controls/users
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/credit-controls/users
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"users": [
{
"creditLimit": 50,
"userId": "f4a2b3c8-0d1e-4f5a-9b6c-7d8e9f0a1b2c"
}
]
}Response
All entries applied. Returns each user's effective limit, in request order.
Example response
{
"users": [
{
"creditLimit": 50,
"userId": "f4a2b3c8-0d1e-4f5a-9b6c-7d8e9f0a1b2c"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.