credit-limits

Set a monthly credit limit for a user

put/credit-limits/users/{userId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

userIdstring required

Request body

monthlyCreditsnumber required

The monthly credit allowance. 0 freezes the target entirely; remove the limit to make the target unlimited within the org budget.

Example request

{
  "monthlyCredits": 5000
}

Response

idstring required
monthlyCreditsnumber required
userIdstring required

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "monthlyCredits": 5000,
  "userId": "550e8400-e29b-41d4-a716-446655440001"
}

Changes

No recorded changes to this operation across all 51 revisions of this API.