Update Workspace Config
Update one or more workspace-level configuration flags. Any field returned by GET /v1/workspace/{workspace_slug}/config/ can be sent in the PATCH body — only fields you include are changed.
patch/v1/workspace/{workspace_slug}/config/
Path parameters
workspace_slugstring required
Workspace slug (e.g. staging, production).
Request body
Example request
{
"user_inbox_preference_enabled": true,
"sms_vendor_type": "basic",
"user_tenancy_mode": "shared",
"user_tenancy_channel_fallback_mode": "allowlist",
"user_tenancy_channel_fallback": [
"$email",
"$sms",
"$whatsapp"
]
}Response
Workspace config updated. The full updated config is returned.
Example response
{
"user_inbox_preference_enabled": true,
"sms_vendor_type": "basic",
"user_tenancy_mode": "exclusive",
"user_tenancy_channel_fallback_mode": "all",
"user_tenancy_channel_fallback": [
"$email",
"$sms",
"$whatsapp"
]
}