v18

latestOpenAPI 3.0.32026-08-07378889.6 MB
bulk-redirects

Promote a staging version to production or restore a previous production version.

Update a version by promoting staging to production or restoring a previous production version

post/v1/bulk-redirects/versions

Query parameters

projectIdstring required
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
namestring

Response