Update an account
Renames the account, assigns its slug, or both. Send at least one of name and slug;
a field you leave out is not changed. Only an account_admin of the account may call
it.
The slug is the owner segment of every model the account publishes, as in
your-org/your-model. Three rules apply:
- Your account must have model serving enabled. Otherwise the request returns
403. - The slug can be set only once. Any request that sets
slugon an account that already has one returns409, even with the same value. There is no rename. - The slug must be a valid name segment, must not be reserved, and must not be used by another account.
The response does not include plan_id or plan; read them with
GET /accounts/{account_id}.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The account's ID. Use the account_id from GET /me.
Body
Response
The updated account.
An account. The response can carry further billing fields not listed here; do not depend on them.
The display name.
The owner segment of the account's model names, as in your-org/your-model. Absent until assigned; once set, it cannot change.
The billing contact. Present only for callers with account_admin or billing_admin, and only when set.
The account's plan. Absent when the account has no plan.
The account's plan.
Billing settings. Present only for callers with account_admin or billing_admin. The
object can carry further fields not listed here; do not depend on them.
When the account was suspended. Absent for active accounts.