Create redirects for a documentation repository

Use POST /docs/sites/{id}/redirects instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

Optional. Owning site for the redirects. Defaults to the site this repo's primary attachment points at. Useful when the repo is attached to multiple sites and the caller wants to specify which one.

boolean
Defaults to false

When true, the request fails if any submitted redirect collides with an existing one. When false (default), collisions are skipped and reported alongside the successfully-created rows.

redirects
array of objects
required
redirects*
Responses

400

Invalid input

404

Repository or site not found

409

Duplicate redirects (strict mode only)

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