CMS

Create a redirect

Create a single manual redirect on a site. Paths are site-relative. Self-redirects and redirects that would create a loop are rejected.

post/cms/redirects

Request

  • Base URL: https://next.frase.io/api/v1
  • URL: https://next.frase.io/api/v1/cms/redirects
  • Auth: API key in header X-API-KEY

Request body

site_idstring uuid required

Required. The site to add the redirect to.

from_pathstring required

Required. Site-relative source path.

to_pathstring required

Required. Site-relative destination path.

Response

Redirect created

request_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.