Skip to content

Delete QR Code

Permanently delete a QR code and its associated images.

DELETE /api/v1/qrcodes/:id

Path Parameters

ParameterTypeDescription
idstringUUID of the QR code

Example Request

bash
curl -X DELETE "https://api.qbar-scanner.com/api/v1/qrcodes/550e8400-..." \
  -H "X-API-Key: qbar_your_key_here"

Response 200 OK

json
{
  "message": "QR code deleted successfully",
  "request_id": "..."
}

Irreversible

This action is permanent. The QR code, its scan history, and any cached images will be deleted. If this was a dynamic QR code, the short URL will stop redirecting.

Error Responses

StatusWhen
401Invalid API key
404QR code not found

QBar Scanner Developer API