Skip to main content
PATCH
/
organizations
/
{organization_id}
Update Organization
curl --request PATCH \
  --url https://api.wacht.dev/organizations/{organization_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "display_name": "<string>",
  "description": "<string>",
  "logo_url": "<string>"
}'
{
  "id": "<string>",
  "name": "Acme Corporation",
  "display_name": "Acme Corp",
  "slug": "acme-corp",
  "description": "<string>",
  "logo_url": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "member_count": 25,
  "workspace_count": 5
}

Authorizations

Authorization
string
header
required

Path Parameters

organization_id
string
required

Body

application/json
name
string
display_name
string
description
string
logo_url
string<uri>

Response

id
string
name
string
Example:
display_name
string
Example:
slug
string
Example:
description
string | null
logo_url
string<uri> | null
created_at
string<date-time>
updated_at
string<date-time>
member_count
integer
Example:
workspace_count
integer
Example: