Create a new 301 redirect

Creates a new 301 redirect.

Body Params
string
required

The old URL path to redirect from (must start with '/').

string
required

The new URL path to redirect to (must start with '/').

Responses

400

Invalid request data.

401

Unauthorized. Invalid or missing API key.

409

A redirect for the old path already exists.

500

Server error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json