Search
Search
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
FramerPluginPermissionError
is thrown. Note: This is pending implementation and will be enabled after the Permission API PR is merged.
Caveats
Unknown Redirect IDs are ignored.