Get All HTTP Headers
Get HTTP Headers
Update HTTP Headers
Delete HTTP Headers
Get a list of the security headers applied to a business unit’s SAP-branded view and click domains.
| Name | Type | Description |
|---|---|---|
data | array | An array of objects described in the data object. |
requestId | string | A string formatted as a GUID. |
| Name | Type | Description |
|---|---|---|
securityHeaders | array | An array of objects described in the securityHeaders object. |
pageType | string | The string value is view or click. |
| Name | Type | Description |
|---|---|---|
id | integer | The security header id. |
name | string | The security header name. |
1Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
2GET /messaging/v1/securityHeaders
3Content-Type: application/json
4Authorization: Bearer YOUR_ACCESS_TOKEN1HTTP/1.1 200
2{
3 "data": [
4 {
5 "securityHeaders": [
6 { "id": 6, "name": "Cache-control" },
7 { "id": 3, "name": "X-Content-Type-Options" },
8 { "id": 5, "name": "Strict-Transport-Security" }
9 ],
10 "pageType": "view"
11 },
12 {
13 "securityHeaders": [
14 { "id": 6, "name": "Cache-control" },
15 { "id": 3, "name": "X-Content-Type-Options" }
16 ],
17 "pageType": "click"
18 }
19 ],
20 "requestId": "52b8733f-f0fd-4179-8cb9-f5a6a0f8b72e"
21}