Create a 301 redirect
Add a new 301 redirection rule to a site.
This endpoint allows you to define a source path (`fromUrl`) and its corresponding destination path (`toUrl`), which will dictate how traffic is rerouted on your site. This is useful for managing site changes, restructuring URLs, or handling outdated links.
<Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
Required scope: `sites:write`