Skip to main content
PUT
/
v1
/
orgs
/
{id}
Update Organization
curl --request PUT \
  --url http://localhost:3000/v1/orgs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Acme Industries"
}
'
{
  "org": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
Example:

"Acme Industries"

Response

Updated successfully

org
object