Update URL
Update an existing URL’s properties.
Partially update a shortened URL. Only provided fields are modified; omitted
fields remain unchanged. Pass null to remove optional settings like
password, max_clicks, or expire_after.
Authentication: Required — you must own the URL.
API Key Scope: urls:manage or admin:all
Rate Limits: 120/min, 2,000/day
Updatable Fields: long_url, alias, password, block_bots,
max_clicks, expire_after, private_stats, status
Notes:
- Setting
max_clicksto0ornullremoves the click limit - Changing the
aliaschecks availability and may fail with 409 Conflict - The
url_idis the MongoDB ObjectId, not the alias
Authorizations
Body
Request body for partially updating an existing shortened URL.
All fields are optional; only provided fields are updated.
Pass max_clicks=0 or max_clicks=null to remove the limit.
Pass password=null (or omit) to remove password protection.
Response
Successful Response
Response body after a successful URL update (PATCH /api/v1/urls/{url_id}).

