getOriginHeaderModification
Get the origin header modification associated with a zone. Only the `mrt` type is supported.
Operation ID: getOriginHeaderModificationGET
https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/origin-header-modification/{type}
Request
curl "https://{shortCode}.api.commercecloud.salesforce.com/cdn/zones/v1/organizations/{organizationId}/zones/{zoneId}/origin-header-modification/{type}"
Security
URI parameters
shortCode
string
Required
Default value:
shortCode
zoneId
string
Required
type
string
Required
The type of origin header modification. Only the mrt
type is supported.
organizationId
string
Required
An identifier for the organization the request is being made by
Minimum characters:
1
Maximum characters:
32
f_ecom_zzxy_prd
Responses
Successfully returned the origin header modification associated with a zone.
{
"data": {
"headerName": "x-sfdc-access-control",
"headerValue": "********789",
"lastUpdated": "2024-04-27T18:32:34.675182Z"
}
}
Body
Media type:
application/json
data
object
Required
An origin header modification rule.