Organizations
Update organization by ID
PATCH
Updates an organization.
ApiKeyAuthheader
x-api-key<token>organizationId*stringFormat
uuidapplication/json- body
name?stringLength
2 <= length <= 1024organizationSlug?stringLength
length <= 256primaryDomain?stringconsentSyncProjectIds?array<>consentSyncScope?stringValue in
"all""opt_out_rights"Default Response
application/json- response
createdAt?array<unknown>|boolean|number||stringupdatedAt?array<unknown>|boolean|number||stringdefaultProjectId?array<unknown>|boolean|number||stringbillingEmails?array<unknown>|boolean|number||stringbillingPhoneNumber?array<unknown>|boolean|number||stringbillingAddress?array<unknown>|boolean|number||stringsubscription?array<unknown>|boolean|number||stringstripe?array<unknown>|boolean|number||stringhashSalt?array<unknown>|boolean|number||stringid?stringFormat
uuidconsentSyncProjectIds?array<>Default
[]consentSyncScope?stringDefault
"all"Value in
"all""opt_out_rights"name*stringLength
2 <= length <= 1024dateCreated*integerdateUpdated*integerprimaryDomain*stringslug*stringLength
length <= 256projects?array<>status?stringDefault
"active"Value in
"active""suspended""disabled""deleted"statusDate*integerstatusFlags*features?|curl -X PATCH 'https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "createdAt": [ null ], "updatedAt": [ null ], "defaultProjectId": [ null ], "billingEmails": [ null ], "billingPhoneNumber": [ null ], "billingAddress": [ null ], "subscription": [ null ], "stripe": [ null ], "hashSalt": [ null ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "consentSyncProjectIds": [], "consentSyncScope": "all", "name": "string", "dateCreated": 0, "dateUpdated": 0, "primaryDomain": "string", "slug": "string", "projects": [ { "default": [ null ], "contactEmail": "user@example.com", "contactEmails": [ "user@example.com" ], "dateCreated": 0, "dateUpdated": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mode": [ null ], "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "status": "string" }, "sendFromEmailId": "default", "sendFromEmail": { "id": "default", "email": "user@example.com", "name": "string" }, "settings": { "branding": { "buttonRadius": "string", "cardRadius": "string", "font": "string", "logoUrl": "string", "iconUrl": "string", "primaryColor": "string", "secondaryColor": "string", "poweredByConcord": true }, "trackers": { "autoAddTrackers": true, "autoAddRealTimeTrackers": false, "deepScan": true, "realTimeScan": false, "lastRealTimeScan": 0 } }, "slug": "string", "status": "active", "statusFlags": { "isActive": true, "isTest": true }, "type": "website" } ], "status": "active", "statusDate": 0, "statusFlags": { "isActive": true }, "features": "26ab6f9b-05df-4b4e-b7c6-e1daa3249f9b"}