Skip to main content
PATCH
Edit a page route

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Body

application/json
websiteId
string
required
Minimum string length: 1
name
string
required
Required string length: 1 - 255
route
string
required
leaseToken
string
required
Minimum string length: 1

Response

The committed edit and the normalized route.

version
integer
required

Head version after the edit: the previous head plus one, or the unchanged head when changed is false.

changed
boolean
required

false when the edit was a no-op and no new version was created.

route
string
required

Normalized route literal now in the page source.

routeChanged
boolean
required

Whether the route differs from its previous value.