v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
project-routes

Edit a routing rule

Replace a routing rule identified by its ID, or restore it from the current production version. Stages a new version with the modified route.

patch/v1/projects/{projectId}/routes/{routeId}

Path parameters

projectIdstring required
routeIdstring required

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

restoreboolean

If true, restores the staged route to the value in the production version.

Response