Revoke an account's access
Takes away an account’s access to one environment of a model, or to every environment when
environment is omitted. New tokens and sessions are refused at once; running sessions
finish. Returns 204 also when the account had no access.
Callable by an account_admin of the owning account when model serving is enabled for the
account. The CLI equivalent is reactor model access revoke.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The model's ID (not its project ID). Find it with GET /models?name=your-org/your-model.
The account's ID. Use the account_id from GET /me.
Query Parameters
The name or ID of one environment to revoke. Omit to revoke every environment.
"staging"
Response
The access was revoked.