Redirects
Redirects
List all redirects
GET /api/v1/redirects
Create a redirect
POST /api/v1/redirects
Request body
Name | Type | Description |
---|---|---|
from | string | Path to redirect from (e.g. /old/path) |
to | string | Path 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}