Set usage alert thresholds (admin)

PUT/api/v1/usage/alerts/threshold

Parameters

This endpoint does not accept parameters.

Responses

200Threshold updated

Request

curl -X PUT "https://api.knowledgetree.dev/api/v1/usage/alerts/threshold" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "resource_count": 10000, "api_calls": 500000 }'

Response

200Threshold updated
Example response not yet documented.