Skip to main content
PATCH
/
orgs
/
{org_id}
Update organization
curl --request PATCH \
  --url https://api.mnemom.ai/v1/orgs/{org_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "billing_email": "<string>",
  "company_name": "<string>"
}
'
{
  "org_id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "billing_account_id": "<string>",
  "owner_user_id": "<string>",
  "billing_email": "<string>",
  "company_name": "<string>",
  "member_count": 123,
  "role": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Body

application/json
name
string
slug
string
billing_email
string
company_name
string

Response

Organization updated

org_id
string
name
string
slug
string
billing_account_id
string
owner_user_id
string
billing_email
string | null
company_name
string | null
member_count
integer
role
string
created_at
string<date-time>
updated_at
string<date-time>