removeRedirects

removeRedirects

Remove Redirects from the project.

await framer.removeRedirects([aboutPageRedirect.id, blogPageRedirect.id])

Unknown Redirect IDs are ignored.

Throws a FramerPluginError when the user lacks Site Settings permissions or when the project plan does not include Redirects.

Parameters

  • redirectIds: string[] – An array of Redirect IDs to remove.

Returns

  • Promise<void>