Skip to main content
PATCH
/
organisations
/
{organisation_id}
Update Organisation
curl --request PATCH \
  --url https://api.example.com/organisations/{organisation_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "auto_assign_on_domain": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Path Parameters

organisation_id
string
required

Body

application/json
name
string | null
required
auto_assign_on_domain
boolean | null
required

Response

Successful Response