Grant environment access
Gives another account access to this environment of your private model. Every member and API key of that account can then mint tokens and start sessions on it. The request has no body, and repeating it is safe.
A grant on a public model changes nothing until the model is private. A session token
can open a granted environment when its model scope names owner/name:environment.
See Limit what a token can do.
Requires the account_admin role and Serve access.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The project's ID, a UUID. It is not the model's ID.
The environment's ID (a UUID) or its name, such as production. A name matches only a live environment; a deleted environment is reachable by its ID only.
The ID of the account that gets or holds access. A member finds it with GET /me.