Update the CRM settings
Replaces the sections of the settings the body names (customFields, defaultVisibility, segments, taskTemplates, webhooks) if the settings are still at the revision sent, and answers the settings as GET /crm/settings does, at the next revision. Each list sent replaces the stored one whole: an item sent with its id keeps it, one without is new and gets an id, and a stored item left out is deleted; a section left out stays as it is. A webhook sent without the webhookId of a stored one is new: its signing secret is in this answer, as that webhook's secret, and in no answer again, so store it now. Every delivery to the webhook is signed with it (X-Nicer-Signature). The change publishes crm.settings-updated.v1 with the sections it replaced. Admins only. Errors: 400 ERROR_BODY_VALIDATION, also for a body with the revision alone or two custom fields with one key; 403 ERROR_UNAUTHORIZED for anyone but an admin; 409 CRM_REVISION_CONFLICT when the settings changed since they were read: read them again.
Authorization
Header parameters
Request body JSON required
Returns
200
OK