Search
Search
removeRedirects
removeRedirects
removeRedirects
Remove Redirects from your project.
await framer.removeRedirects([aboutPageRedirect.id, blogPageRedirect.id])
Parameters
redirectIds: string[]– An array of Redirect IDs to remove.
Returns
Promise<void>
Errors
When the current user does not have permission to edit Site Settings, a
FramerPluginErroris thrown. See the Permissions guide to for more details.When the current Project is not on a Plan that includes Redirects, a
FramerPluginErroris thrown. Also Framer will show a modal that asks the user to upgrade it's Plan.
Caveats
Unknown Redirect IDs are ignored.