Skip to main content

Edge Route Response Headers Module

Replace HTTPS Edge Route Response Headers Module

Request

PUT /edges/https/{edge_id}/routes/{id}/response_headers

Example Request

Loading…

Parameters

NameTypeDescription
enabledbooleantrue if the module will be applied to traffic, false to disable. default true if unspecified
addMap<string, string>a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client
removeList<string>a list of header names that will be removed from the HTTP Response returned to the HTTP client

Response

Returns a 200 response on success

Example Response

Loading…

Fields

NameTypeDescription
enabledbooleantrue if the module will be applied to traffic, false to disable. default true if unspecified
addMap<string, string>a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client
removeList<string>a list of header names that will be removed from the HTTP Response returned to the HTTP client

Get HTTPS Edge Route Response Headers Module

Request

GET /edges/https/{edge_id}/routes/{id}/response_headers

Example Request

Loading…

Response

Returns a 200 response on success

Example Response

Loading…

Fields

NameTypeDescription
enabledbooleantrue if the module will be applied to traffic, false to disable. default true if unspecified
addMap<string, string>a map of header key to header value that will be injected into the HTTP Response returned to the HTTP client
removeList<string>a list of header names that will be removed from the HTTP Response returned to the HTTP client

Delete HTTPS Edge Route Response Headers Module

Request

DELETE /edges/https/{edge_id}/routes/{id}/response_headers

Example Request

Loading…

Response

Returns a 204 response with no body on success