| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/managed_transforms/methods/edit | [Back] [Original] |
Updates the status of one or more Managed Transforms.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194Response Compression WriteConfig Settings WriteDynamic URL Redirects WriteCache Settings WriteCustom Errors WriteOrigin WriteManaged headers WriteZone Transform Rules WriteMass URL Redirects WriteMagic Firewall WriteL4 DDoS Managed Ruleset WriteHTTP DDoS Managed Ruleset WriteSanitize WriteTransform Rules WriteSelect Configuration WriteBot Management WriteZone WAF WriteAccount WAF WriteAccount Rulesets WriteLogs WriteLogs WriteThe list of Managed Request Transforms.
A result.
The list of Managed Request Transforms.
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/managed_headers \
-X PATCH \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{}'{
"errors": [
{
"message": "something bad happened",
"code": 10000,
"source": {
"pointer": "/rules/0/action"
}
}
],
"messages": [
{
"message": "something bad happened",
"code": 10000,
"source": {
"pointer": "/rules/0/action"
}
}
],
"result": {
"managed_request_headers": [
{
"id": "add_bot_protection_headers",
"enabled": true,
"has_conflict": false,
"conflicts_with": [
"add_true_client_ip_headers"
]
}
],
"managed_response_headers": [
{
"id": "add_security_headers",
"enabled": true,
"has_conflict": false,
"conflicts_with": [
"add_true_client_ip_headers"
]
}
]
},
"success": true
}{
"errors": [
{
"message": "something bad happened",
"code": 10000,
"source": {
"pointer": "/rules/0/action"
}
}
],
"messages": [
{
"message": "something bad happened",
"code": 10000,
"source": {
"pointer": "/rules/0/action"
}
}
],
"result": {
"managed_request_headers": [
{
"id": "add_bot_protection_headers",
"enabled": true,
"has_conflict": false,
"conflicts_with": [
"add_true_client_ip_headers"
]
}
],
"managed_response_headers": [
{
"id": "add_security_headers",
"enabled": true,
"has_conflict": false,
"conflicts_with": [
"add_true_client_ip_headers"
]
}
]
},
"success": true
}| Web Proxy Viewer | New URL | Original Page |