Skip to main content
PUT
/
account
/
api
/
v1
/
organizations
/
{id}
Update organization
curl --request PUT \
  --url https://www.closient.com/account/api/v1/organizations/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "public_id": "<string>",
  "country": "<string>",
  "is_brand": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "public_id": "<string>",
  "country": "<string>",
  "is_brand": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the organization.

Body

application/json
name
string | null
public_id
string | null
country
string | null
is_brand
boolean | null

Response

OK

id
string<uuid>
required

Organization identifier.

name
string
required

Organization name.

public_id
string
required

URL-safe identifier.

country
string
required

ISO 3166-1 alpha-2 country code.

is_brand
boolean
required

Whether this organization is a brand owner.