Skip to main content
PUT
/
organizations
/
{organizationId}
Update an organization by ID
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/organizations/{organizationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "An example name",
  "description": "An example name",
  "websiteUrl": "https://website-sample.com"
}'
{
  "organization": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "name": "Acme Corp",
    "description": "An example name",
    "websiteUrl": "https://website-sample.com",
    "address": {
      "addressLine1": "An example name",
      "addressLine2": "An example name",
      "city": "An example name",
      "region": "An example name",
      "postalCode": "An example name",
      "country": "US"
    }
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

organizationId
string
required
Required string length: 36
Example:

Body

application/json
name
string
required
Maximum length: 255
Example:
description
string
Maximum length: 255
Example:
websiteUrl
string
Maximum length: 255
Example:

Response

organization
object