Rename your organization
const url = 'https://api.global.stillbox.example/v1/org';const options = { method: 'PATCH', 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 PATCH \ --url https://api.global.stillbox.example/v1/org \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "name": "example"}Responses
Section titled “Responses”The organization, renamed
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"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
object
Example
{ "code": "not_found"}