Update a link
PUT/api/links/:id
Updates a link's destination URL, title, tags, expiry, UTM parameters, redirect type, or forward-query-params setting. Use clear_expiration=true to remove the expiration date. Updates are written to both D1 and KV atomically
Request
Responses
- 200
- 400
- 401
- 404
Updated link
Invalid request body
Unauthorized
Link not found