Update Workspace Config
Changed onUpdate 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.
Request
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
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"
]
}Changes
- breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response400 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response404 - breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info