Update QR Code
QR Codes
Update QR Code
Update a QR code properties and settings
PUT
Update QR Code
Update the properties of a QR code. For dynamic QR codes, you can update the destination content. For static QR codes, you can update metadata like name and tracking settings.
Dynamic vs Static Updates
- Dynamic QR codes: Can update
content_datato change the destination URL - Static QR codes: Can only update metadata (
name,tracking_enabled,password)
Path Parameters
The UUID of the QR code to update.
Body Parameters
New content data (for dynamic QR codes only).The structure depends on the
content_type of the QR code. See Generate QR Code for content_data formats.Example for URL type:Update the friendly name for the QR code.
Enable or disable scan tracking for this QR code.
When updated, this also syncs to the associated short URL if one exists.
Set or update password protection.Requirements:
- Minimum 8 characters
- Must meet password complexity requirements
Set to
false to remove password protection.Update the expiration date (ISO 8601 format).
Response
Whether the request was successful.
Response containing the updated QR code.
Request Examples
- cURL
- Node.js
- TypeScript
- Python
- PHP
- Go
- Java
Response Examples
- 200 Success
- 404 Not Found
- 400 Invalid ID
- 400 Temporary QR
- 403 Access Denied
- 422 Validation Error
Use Cases
Update campaign destination
Update campaign destination
Change where a dynamic QR code redirects during a campaign.
Add password protection
Add password protection
Protect sensitive content with a password.
Remove password protection
Remove password protection
Remove password from a protected QR code.
Toggle tracking on/off
Toggle tracking on/off
Enable or disable scan analytics.
Related Endpoints
Get QR Code
Retrieve QR code details before updating
Generate QR Code
Create a new QR code with different visual settings
Delete QR Code
Permanently delete a QR code
Get Short URL
View the associated short URL