Modify Pragma settings for a configuration

All products Update the Pragma header excluded conditions. By default, the Pragma header is stripped from an operation's response except in cases where you set excludeCondition. To remove existing settings, submit your request with an empty payload {} at the top-level of an object. For example, submit "type": "{}" in the request body to remove the requestHeaderValueMatch from the excluded conditions. If you submit an empty payload for each member, you'll clear all of your condition settings. This operation applies at the security configuration level. To see settings at the security policy level, run Modify Pragma header settings for a security policy.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
string
enum
required

The action to perform when a user passes a Pragma header. The only action currently supported is REMOVE.

Allowed:
string
enum

Use OR to match any condition, or AND to match on all conditions.

Allowed:
excludeCondition
array of objects

The conditions to exclude from the default remove action. Any condition you set in this object appears in the Pragma header debug response object.

excludeCondition
boolean

Whether Pragma header override is enabled or disabled.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json