Short URLs

Update a short URL

Partially updates a standalone short URL. You can change the destination URL, name, or active state. Short URLs linked to a QR code cannot be updated directly — update the QR code instead.

patch/short-url/{shortCode}

Request

  • Base URL: https://api.qrcodly.de/api/v1
  • URL: https://api.qrcodly.de/api/v1/short-url/{shortCode}
  • Auth: HTTP bearer

Path parameters

shortCodestring required

The 5-character short URL code

Request body

destinationUrlstring uri

New destination URL (must start with http:// or https://)

isActiveboolean

Whether the short URL is currently active and redirecting

namestring nullable

User-defined name for the short URL (max 50 characters)

Response

Default Response

idstring uuid required

Unique identifier (UUID v4)

createdAtstring date-time required

Timestamp when the resource was created (ISO 8601)

updatedAtstring date-time nullable required

Timestamp when the resource was last updated (ISO 8601), or null if never updated

shortCodestring required

Unique 5-character short code (e.g. "Ab3xZ")

namestring nullable required

User-defined name for the short URL (max 50 characters)

destinationUrlstring uri nullable required

The target URL that the short URL redirects to

qrCodeIdstring uuid nullable required

ID of the linked QR code, or null for standalone short URLs

isActiveboolean required

Whether the short URL is currently active and redirecting

createdBystring required

User ID of the short URL owner

deletedAtstring date-time nullable required

Soft-delete timestamp, or null if the short URL is active

safetyStatus'unchecked' | 'clean' | 'blocked' required

Result of the destination safety screening. "blocked" means we disabled the link and the owner cannot re-enable it

safetyBlockedAtstring date-time nullable required

When the link was blocked for safety reasons, or null

safetyThreatTypesstring nullable required

Comma-separated Google Web Risk threat types behind the block, or null

Changes

No recorded changes to this operation across all 1 revision of this API.