Skip to main content

Redirects

Redirects

List all redirects

GET /api/v1/redirects

Create a redirect

POST /api/v1/redirects

Request body

NameTypeDescription
fromstringPath to redirect from (e.g. /old/path)
tostringPath to redirect to (e.g. /new/path)

Retrieve a redirect

GET /api/v1/redirects/{redirect_id}

Update a redirect

PUT /api/v1/redirects/{redirect_id}

Delete a redirect

DELETE /api/v1/redirects/{redirect_id}