v14

OpenAPI 3.0.32026-08-04377889.4 MB
project-routes

Promote, restore, or discard a routing rule version

Promote staged routing rules to production, restore a previous production version, or discard staged changes. - promote: Publishes the staging version to production. - restore: Rolls back to a previous production version. - discard: Removes the staging version without publishing.

post/v1/projects/{projectId}/routes/versions

Path parameters

projectIdstring 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

idstring required
action'promote' | 'restore' | 'discard' required

Response