Set a website usage limit
Caps how many reports this website may accept per period, so one noisy site cannot spend the whole workspace allowance. Send null to remove the cap. The limit cannot be higher than the workspace plan limit. A website at or over its limit stops collecting within a minute and resumes at the start of the next period.
Requires the manager role on the website.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Reports this website may accept per period, or null to remove the cap. Cannot exceed the workspace plan limit.
Response Body
curl -X PUT "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/usage/limit" \ -H "Content-Type: application/json" \ -d '{ "limit": 100000 }'Get website usage GET
Returns how many reports this website has accepted this period and the limit set on it. A null limit means only the workspace limit applies.
List workspace usage-alert recipients GET
Returns the members emailed when the workspace passes 80% of its plan limit and again when it reaches 100%. Each threshold sends at most one email per period.