Skip to content

Rename your organization

PATCH
/org
curl --request PATCH \
--url https://api.global.stillbox.example/v1/org \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'
Media typeapplication/json
object
name
required
string
>= 1 characters <= 100 characters

Example generated

{
"name": "example"
}

The organization, renamed

Media typeapplication/json
object
org
required
object
id
required
string
name
required
string
limited
required

Out of free hours and credits; sandboxes can’t run until credits are added or the week resets.

boolean
role

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.

string
Allowed values: owner member auditor
members
required

How many people belong to the organization.

integer
user
object
id
required
string
email
required
string
name
required
string
orgs
required

Every organization the person belongs to; empty for an API key no person created.

Array<object>
object
id
required
string
name
required
string
role
required

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.

string
Allowed values: owner member auditor
invitations
required

Invitations waiting for the person’s answer.

Array<object>
object
id
required
string
email
required
string
role
required

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.

string
Allowed values: owner member auditor
org_id
required
string
org_name
required
string
invited_by_name
required
string
url
required

The console page where the invited person answers. It only works for them, signed in.

string
accepted

The invited person has already joined.

boolean
emailed

In the answer to an invitation just sent, whether it was emailed; the region may have no mail sender.

boolean
created_at
required
string format: date-time
expires_at
required
string format: date-time

Example

{
"org": {
"role": "owner"
},
"orgs": [
{
"role": "owner"
}
],
"invitations": [
{
"role": "owner"
}
]
}

The request is invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}