Updates the status of one or more Managed Transforms.
/zones/{zone_id}/managed_headers
patch
Managed Transforms
managed-transforms-update-status-of-managed-transforms
{
"business": true,
"enterprise": true,
"free": true,
"pro": true
} null [
{
"in": "path",
"name": "zone_id",
"required": true,
"schema": {
"description": "Identifier",
"example": "023e105f4ecef8ad9ca31a8372d0c353",
"maxLength": 32,
"readOnly": true,
"type": "string"
}
}
] {
"content": {
"application/json": {
"schema": {
"properties": {
"managed_request_headers": {
"items": {
"properties": {
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"managed_response_headers": {
"items": {
"properties": {
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"managed_request_headers",
"managed_response_headers"
],
"type": "object"
}
}
},
"required": true
} {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"managed_request_headers": {
"items": {
"properties": {
"available": {
"description": "When true, the Managed Transform is available in the current Cloudflare plan.",
"example": true,
"type": "boolean"
},
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"managed_response_headers": {
"items": {
"properties": {
"available": {
"description": "When true, the Managed Transform is available in the current Cloudflare plan.",
"example": true,
"type": "boolean"
},
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
}
},
"description": "Update status of Managed Transforms response"
},
"4XX": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"properties": {
"managed_request_headers": {
"items": {
"properties": {
"available": {
"description": "When true, the Managed Transform is available in the current Cloudflare plan.",
"example": true,
"type": "boolean"
},
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"managed_response_headers": {
"items": {
"properties": {
"available": {
"description": "When true, the Managed Transform is available in the current Cloudflare plan.",
"example": true,
"type": "boolean"
},
"enabled": {
"description": "When true, the Managed Transform is enabled.",
"example": true,
"type": "boolean"
},
"id": {
"description": "Human-readable identifier of the Managed Transform.",
"example": "add_cf-bot-score_header",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
{
"properties": {
"errors": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": [
{
"code": 7003,
"message": "No route for the URI"
}
],
"minLength": 1
},
"messages": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": []
},
"result": {
"enum": [
null
],
"nullable": true,
"type": "object"
},
"success": {
"description": "Whether the API call was successful",
"enum": [
false
],
"example": false,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
}
]
}
}
},
"description": "Update status of Managed Transforms response failure"
}
} [
{
"api_email": [],
"api_key": []
}
]