Act in another of your organizations
const url = 'https://api.global.stillbox.example/v1/me/org';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"org_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.global.stillbox.example/v1/me/org \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "org_id": "example" }'For browser sessions only; an API key always belongs to one organization.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "org_id": "example"}Responses
Section titled “Responses”The session now acts in that organization
object
object
Out of free hours and credits; sandboxes can’t run until credits are added or the week resets.
Owners invite and remove people and manage the organization; members use its sandboxes; auditors read the audit log and see everything else without changing anything, opening terminals or reading files.
How many people belong to the organization.
object
Every organization the person belongs to; empty for an API key no person created.
object
Owners invite and remove people and manage the organization; members use its sandboxes; auditors read the audit log and see everything else without changing anything, opening terminals or reading files.
Invitations waiting for the person’s answer.
object
Owners invite and remove people and manage the organization; members use its sandboxes; auditors read the audit log and see everything else without changing anything, opening terminals or reading files.
The console page where the invited person answers. It only works for them, signed in.
The invited person has already joined.
In the answer to an invitation just sent, whether it was emailed; the region may have no mail sender.
Example
{ "org": { "role": "owner" }, "orgs": [ { "role": "owner" } ], "invitations": [ { "role": "owner" } ]}The request is invalid
object
Example
{ "code": "not_found"}The API key is missing or invalid
object
Example
{ "code": "not_found"}No such sandbox in your organization (or no such file)
object
Example
{ "code": "not_found"}