Update compliance settings
Owner or admin only. Every change is audited.
Owner or admin only. Every change is audited.
Authorization
bearerAuth A Supabase Auth user access token for the signed-in SignalDock user, sent as Authorization: Bearer <token>. Paste one from a signed-in session, or obtain one through the oauth2 scheme; the API accepts either.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/compliance/settings" \ -H "Content-Type: application/json" \ -d '{ "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9" }'{ "organization_id": "33333333-3333-4333-8333-333333333333", "default_country": "NL", "default_locale": "nl-NL", "default_formality": "formal", "retention_months": 24, "ai_disclosure": "footer", "sender_legal_name": "string", "sender_address": "string", "privacy_url": "string", "unsubscribe_mailto": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}