Create an organization
const url = 'https://api.global.stillbox.example/v1/orgs';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"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/orgs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'You become its owner, and your session switches to it. For browser sessions only.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "name": "example"}Responses
Section titled “Responses”The new organization, now the current one
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"}