Skip to navigation

Tenant Rate Limits

View as Markdown

platform.tenant.rate-limits

  • Endpoint: /platform/tenant/rate-limits | Methods: GET, PATCH
  • Request shape: one per organization, so there is no id. It already exists: read it with GET, then PATCH the fields you want to change. Fields go at the top level of the JSON body, with no resource wrapper.
  • Updates: a JSON merge-patch. Send only the fields you change, plus version: {num, change_description} with the num from your last read. Lists and maps you send replace the stored ones whole.

Endpoints

All paths are relative to https://api.moveworks.ai/configurations/v1alpha1. Each endpoint page lists the request and response schema, an example, and the errors it can return.

MethodPathEndpoint reference
GET/platform/tenant/rate-limitsGet tenant rate limits
PATCH/platform/tenant/rate-limitsUpdate tenant rate limits

Fields

FieldTypeRequiredNotes
configsarray<RateLimitTypeConfig>Rate limit settings per rate limit type. Only one entry is allowed per type.
updated_timestringread-onlyWhen the configuration was last updated.
updated_bystringread-onlyWho last updated the configuration.
versionVersionDocument version. On update, send back the num from your last read.

Document fields (example)

The document as GET returns it. To change any of these, send only the fields you want to change in the PATCH body.

{
"configs": [
{
"rate_limit_type": "ACCOUNT_LOCKOUT_NOTIFICATIONS",
"limits": [
{
"interval_in_seconds": 60,
"requests_per_interval": 1,
"item_ref": "<string>"
}
],
"item_ref": "<string>"
}
]
}