updateCipherSuites
Update cipher suite settings for the zone. See [eCDN Supported Cipher Suites](https://developer.salesforce.com/docs/commerce/commerce-api/guide/cdn-zones-cipher-suite-types.html).
Operation ID: updateCipherSuitesPATCH
https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/settings/ciphers
Request
curl "https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/settings/ciphers" \
-X PATCH \
-H "content-type: application/json" \
-d '{
"ciphers": [
"ECDHE-ECDSA-AES128-GCM-SHA256"
],
"cipherSuiteType": "Custom"
}'
Security
URI parameters
shortCode
string
Required
Default value:
shortCode
zoneId
string
Required
organizationId
string
Required
An identifier for the organization the request is being made by
Minimum characters:
1
Maximum characters:
32
f_ecom_zzxy_prd
Body
Media type:
application/json
{
"ciphers": [
"ECDHE-ECDSA-AES128-GCM-SHA256"
],
"cipherSuiteType": "Custom"
}
ciphers
array of string
List of zone level ciphers in the suite.
[
null,
null
]
cipherSuiteType
string
enum
Required
Classification of all ciphers in the suite.
Enum values:
- Compatible
- Modern
- Custom
- Legacy
Modern
Responses
Updates current zone level cipher settings.
{
"data": {
"ciphers": [
"ECDHE-ECDSA-AES128-GCM-SHA256"
],
"cipherSuiteType": "Custom"
}
}
Body
Media type:
application/json
data
object
Required
Cipher suites information.