getResponseHeaders

get

/ccadmin/v1/merchant/responseHeaders

Get custom response headers. Returns custom response headers for the site with ID set in request header X-CCSite. Returns global header values no values set for the site. The payload is a mapping from header names to their escaped values.

Request

Supported Media Types
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getResponseHeaders_response
Show Source
Example Response (application/json)
{
    "X-Custom-Header":"test",
    "Content-Security-Policy":"default-src 'self' example.com"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top