Modify Pragma settings for a security policy

All products Update the pragma header excluded conditions. By default, the Pragma header debugging information 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 field, you'll clear all of your condition settings. To modify Pragma header settings at the security configuration level, run Modify Pragma header settings for a configuration .

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

A unique identifier for a security policy.

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
Choose an example:
application/json
application/problem+json