Update URL redirect

PATCH

Update a URL redirection rule from a site.

Required scope: sites:write

Path parameters

site_idstringRequired

Unique identifier for a Site

redirect_idstringRequired

Unique identifier site rediect

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.