Delete QR Code
Permanently delete a QR code and its associated images.
DELETE /api/v1/qrcodes/:idPath Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | UUID 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
| Status | When |
|---|---|
401 | Invalid API key |
404 | QR code not found |