Change the published groups, bands or keys
A change rewrites every tenant document at the next run, which
re-judges each of them, so without confirm: true it returns that
estimate and changes nothing. With it, the change applies from the
next run and runs unattended.
Authorizations
An organization API key. Keys carry a role (read_write or
read_only) and may be restricted to a namespace prefix such as
acme/*, or to one namespace such as acme/prod/tenant_1. A prefix
matches on a / boundary: acme/prod/tenant_1* covers
acme/prod/tenant_1 and everything under acme/prod/tenant_1/,
never acme/prod/tenant_12.
Headers
One key per logical request, reused only on its retries. A key
belongs to one request: within your organization, the same method,
path, query and body. For 24 hours after a successful response, a
request with the key and the same body gets that response back
verbatim, with Idempotent-Replayed: true, and runs nothing. Only a
successful response is kept, so the retry of a request that failed
runs again. While the first request runs or its response is kept,
the key with a different request is idempotency_key_reused (422).
A request sent while one with its key is still running is
rate_limited with Retry-After: 1, without running: retry it to
get the first one's response. In the rare case the key can't be
checked, the request runs as if it had none.
1 - 255Path Parameters
Body
At least one of groups, bands and keys, each replacing the setting whole.
Key values a group publishes one by one, by group, such as
{"by_plan": ["free", "pro", "team"]}. A key value comes from the
tenant's attributes, so a tenant document names only the key values
listed here, under the group's keys. Every group publishes its
labels over all its key values together as all, listed or not.
Response
The tenant summary with the change, or the estimate when it needs confirm.
- Option 1
- Option 2
A template's tenant summary and a page of its tenants.
Key values a group publishes one by one, by group, such as
{"by_plan": ["free", "pro", "team"]}. A key value comes from the
tenant's attributes, so a tenant document names only the key values
listed here, under the group's keys. Every group publishes its
labels over all its key values together as all, listed or not.