Menu
Update Security Settings
Update the security settings for a zone.
PATCH
/organizations/{organizationId}/zones/{zoneId}/security-settingsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Update Security Settings action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{updateSecuritySettings.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"alwaysUseHttps": true,
"hsts": {
"enabled": true,
"includeSubdomains": true,
"maxAge": 31536000,
"preload": false
},
"securityLevel": "medium",
"tls13Enabled": true,
"wafEnabled": true
}
Response
Returns 200 with an object. Read it in later steps with {{updateSecuritySettings.response.data.<field>}}.
{
"data": {
"hsts": {
"enabled": true,
"includeSubdomains": true,
"maxAge": 31536000,
"preload": false
},
"securityLevel": "medium",
"tls13Enabled": true,
"wafEnabled": true,
"alwaysUseHttps": true
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?