v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14106607606.1 KB

Updates a response headers policy.

When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration:

  1. Use GetResponseHeadersPolicyConfig to get the current policy's configuration.

  2. Modify the fields in the response headers policy configuration that you want to update.

  3. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.

put/2020-05-31/response-headers-policy/{Id}

Path parameters

Idstring required

The identifier for the response headers policy that you are updating.

Headers

If-Matchstring
<p>The version of the response headers policy that you are updating.</p> <p>The version is returned in the cache policy's <code>ETag</code> field in the response to <code>GetResponseHeadersPolicyConfig</code>.</p>

Response

Success