URLR icon

URLR

Interact with URLR link shortener API

Actions9

Link → Edit

AI-generated

Summary

Edit an existing link by specifying its ID and updating one or more of its fields such as URL, custom code, label, folder assignment, expiration date, or password protection.

Inputs

  • Link ID (required) — The ID of the link to edit
  • Update Fields — One or more fields to update on the link, including URL (destination), Code (custom short code), Label, Folder ID (to move the link), Expires At (expiration date), and Password (for protection)

Output shape

a single JSON object representing the updated link

The operation returns the updated link object as JSON. If the folderId or expiresAt fields are provided, they are mapped to folder_id and expires_at respectively in the API request.

Examples

Example 1: Edit the destination URL and set a custom code for a link.

Provide the Link ID and set the URL and Code fields in Update Fields.

Example 2: Add a password and expiration date to a link to restrict access.

Set the Password and Expires At fields along with the Link ID.

Discussion