Skip to main content

Delete QR Code

Delete a QR code from your workspace.

DELETE/qr-codes/:id

Headers

HeaderRequiredDescription
X-API-KeyRequiredYour API key
QR-VersionOptionalAPI version (e.g., 2026-02-16)

Path Parameters

ParameterTypeDescription
idstringThe QR code ID
warning

Deleted QR codes are moved to trash (soft delete). The short URL will return a 404 when scanned. Analytics data is preserved but no longer accessible via the API.

Request

curl -X DELETE "https://integration-api.qr-build.com/qr-codes/qr-aBc123XyZ9" \
-H "X-API-Key: qrb_live_your_api_key_here"

Response

{
"success": true,
"message": "QR code deleted successfully"
}

Error — Not Found

{
"success": false,
"error": {
"code": "QR_NOT_FOUND",
"message": "QR code not found"
}
}