能否使用FDL REST API更新已创建的Firebase动态链接短链接目标URL?
Can you update the target URL of a Firebase Dynamic Link (FDL) short link via the REST API after creation?
Unfortunately, you cannot update the target URL of an existing Firebase Dynamic Link short link using the FDL REST API once it's been created.
Here's a clear breakdown of the situation:
- Firebase Dynamic Links are built to be immutable once generated. This covers core parameters like the target URL, link behavior rules, and any custom settings you defined during creation.
- The FDL REST API only supports two main actions for existing links: retrieving analytics data and viewing link details. There’s no dedicated endpoint or method to modify an existing link’s target URL.
- If you need to redirect users to a new destination, your practical workarounds are:
- Generate a brand new Dynamic Link with the updated target URL, then guide traffic to this new link (keep in mind FDL short links are managed by Firebase, so you can’t redirect the original short link itself).
- Pair Firebase Dynamic Links with a separate editable URL shortener, or set up a custom intermediate redirect page that you control independently. This way, you can update the redirect target without needing to change the FDL itself.
This immutability is intentional—it ensures consistency for users who’ve saved or shared the link, avoiding unexpected destination shifts that could harm trust.
内容的提问来源于stack exchange,提问作者Bhuvan
相关产品推荐
相关产品推荐

