POST

Bulk Delete Redirects


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes up to 500 redirects by ID.

Each ID succeeds or fails on its own. An ID that matches no redirect on the site fails with REDIRECT_NOT_FOUND while the rest of the request goes ahead. Read those failures from results[].itemMetadata.error in a successful response, matched to the request by results[].itemMetadata.originalIndex. A malformed request, such as an empty redirectIds list, is rejected as a whole and returns no results.

A successful item means the redirect was found and its deletion was sent, not that the deletion is confirmed. Call List Redirects if you need to confirm the outcome.

A redirect scoped to a language stops taking effect but can still appear in List Redirects. Delete Redirect behaves the same way.

To delete a single redirect, call Delete Redirect.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage SEO Settings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/seo-redirects-service/v1/bulk/redirects/delete

Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?