Skip to main content
PUT
/
api
/
v1
/
user-configs
/
admin
/
metering-limit
Admins update metering limit for any user
curl --request PUT \
  --url https://dev-billing-api.iqraa.ai/api/v1/api/v1/user-configs/admin/metering-limit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-admin-api-key: <x-admin-api-key>' \
  --data '
{
  "meteringLimit": 100,
  "customerId": "123"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-admin-api-key
string
required

The API key to access the admin API

Body

application/json
meteringLimit
number
required
Example:

100

customerId
string
required
Example:

"123"

Response

Updated Metering Limit

The response is of type object.