v18

latestOpenAPI 3.0.32026-08-07378889.6 MB
bulk-redirects

Restore staged project-level redirects to their production version.

Restores the provided redirects in the staging version to the value in the production version. If no production version exists, removes the redirects from staging.

post/v1/bulk-redirects/restore

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

namestring
redirectsstring[] required

The redirects to restore. The source of the redirect is used to match the redirect to restore.

Response

restoredstring[] required
failedToRestorestring[] required