Send an old address to a new one so links and search standing carry over
post/cms/redirects
Send an old address to a new one so links and search standing carry over. A redirect never points at another one; chains are followed on write.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:write- Mcp
rivier_cms_redirect- Graphql
Mutation.contentRedirectSet- Sdk
content.redirect.set- Cli
content redirect set
Request bodyapplication/json, required
- fromstringrequiredAt most 500 characters.
- tostringrequired
- statusnumberOne of: 301, 302, 307, 308, 410. Default: 301.
- sitestringDefault: . At most 80 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring