PATCH
/
organizations
/
{organizationId}
curl --request PATCH \
  --url https://api.concord.tech/privacy-v1/organizations/{organizationId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "organizationSlug": "<string>",
  "primaryDomain": "<string>"
}'
{
  "createdAt": [
    "<any>"
  ],
  "updatedAt": [
    "<any>"
  ],
  "defaultProjectId": [
    "<any>"
  ],
  "billingEmails": [
    "<any>"
  ],
  "billingPhoneNumber": [
    "<any>"
  ],
  "billingAddress": [
    "<any>"
  ],
  "subscription": [
    "<any>"
  ],
  "stripe": [
    "<any>"
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "dateCreated": 123,
  "dateUpdated": 123,
  "primaryDomain": "<string>",
  "slug": "<string>",
  "projects": [
    {
      "default": [
        "<any>"
      ],
      "contactEmail": "jsmith@example.com",
      "contactEmails": [
        "jsmith@example.com"
      ],
      "dateCreated": 123,
      "dateUpdated": 123,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "mode": [
        "<any>"
      ],
      "name": "<string>",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organization": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "slug": "<string>",
        "status": "<string>"
      },
      "sendFromEmailId": "default",
      "sendFromEmail": {
        "id": "default",
        "email": "jsmith@example.com",
        "name": "<string>"
      },
      "slug": "<string>",
      "status": "active",
      "statusFlags": {
        "isActive": [
          "<any>"
        ],
        "isTest": [
          "<any>"
        ]
      },
      "type": "website"
    }
  ],
  "status": "active",
  "statusDate": 123,
  "statusFlags": {
    "isActive": [
      "<any>"
    ]
  },
  "features": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
string
required

Body

application/json

Response

200
application/json

Default Response

The response is of type object.