v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBPages
Update a Page
Update a Page in a provided Project
patch/pages/{page_id}
Path parameters
page_idinteger required
The Page ID of the Page you want to change
Request body
Example request
{
"conditions": "[\"and\", {\"type\": \"url\", \"match_type\": \"substring\", \"value\": \"optimize\"}]",
"key": "home_page",
"name": "Home Page"
}Response
Return the updated Page
Example response
{
"activation_code": "function callbackFn(activate, options) { activate(); }",
"activation_type": "callback",
"conditions": "[\"and\", {\"type\": \"url\", \"match_type\": \"substring\", \"value\": \"optimize\"}]",
"edit_url": "https://www.optimizely.com",
"experiment_count": 3,
"id": 4000,
"key": "home_page",
"name": "Home Page",
"project_id": 1000
}