Update Alias
Custom Aliases
Update Alias
Rename or update a short URL using its alias
PUT
Update Alias
Update a short URL’s destination, properties, or rename the alias itself. You can also move a short URL between different domain contexts (e.g., from standard to branded).
Path Parameters
The current custom alias (or short code) of the short URL.
Body Parameters
The new alias you want to set.Requirements:
- 3-50 characters
- Alphanumeric, underscores, or dashes
- Must be unique in the target domain
Update the destination URL.
Change the URL context (Move to standard, subdomain, or branded).
Required if moving to a subdomain context.
Required if moving to a branded domain context.
Update the friendly name.
Update the expiration date (ISO 8601). Set to null to remove expiration.
Enable or disable analytics tracking.
Request Examples
- cURL
- Node.js
- TypeScript
- Python
- PHP
- Go
- Java
- Rename Alias
- Move to Branded
Response Examples
- 200 OK
- 409 Conflict
- 404 Not Found
Use Cases
Correcting Typos
Correcting Typos
If you accidentally created
summmer-sale (3 ‘m’s), you can easily fix it without deleting and recreating.Recycling Links
Recycling Links
Keep the same printed QR code or shared link active, but update the destination URL or alias for a new campaign season.
Related Endpoints
Create Alias
Create a new short URL with a custom alias
Delete Alias
Remove an alias permanently