Url Rules
Update Redirect rule
Updates one of a site's URL rules.
put/api/sites/multiscreen/site/{site_name}/urlrules/{id}
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/sites/multiscreen/site/{site_name}/urlrules/{id}
- AuthHTTP basic
Path parameters
site_namestring required
The site's unique name (its ID), returned when the site is created.
idstring required
Request body
Example request
{
"response_code": 301,
"source": " 'old-page-url', '/old-page-url' ",
"target": "'about', '/about', 'home', '/' (alternative to ‘home’), 'https://www.google.com'"
}Response
OK
Example response
{
"response_code": 301,
"source": " 'missing-page', 'old-page' ",
"target": " 'home', 'https://google.com' "
}Changes
No recorded changes to this operation across all 1 revision of this API.