Delete a Redirect

DELETE /api/v2/redirects/{id}.json

Delete a redirect rule by its ID.

Scope

Requires the content OAuth scope.

Parameters

Your request must provide the following URL parameters:

id required
The ID of your Redirect object


Request body

Does not require a payload

Success responses

If the Redirect rule was deleted successfully you should receive a response with a 204 status code and no body.

Error responses

If the Redirect could not be deleted you may encounter a response with a 400, or 404 status code:

success
A boolean where a value of false means the Redirect could not be deleted.
status
  • 400 may indicate that the ID was not provided, or the Redirect could not be deleted for an unknown reason.
  • 404 indicates that the ID was provided, but the Redirect could not be found.