Update 301 redirect

Update a 301 redirection rule from a site.

Enterprise Only
This endpoint requires an Enterprise workspace.

Required scope: sites:write

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site
redirect_idstringRequiredformat: "objectid"
Unique identifier site rediect

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
idstringOptional
The ID of the specific redirect rule
fromUrlstringOptional
The source URL path that will be redirected.
toUrlstringOptional
The target URL path where the user or client will be redirected.

Response

Request was successful
idstringOptional
The ID of the specific redirect rule
fromUrlstringOptional
The source URL path that will be redirected.
toUrlstringOptional
The target URL path where the user or client will be redirected.

Errors