QR Code Delete
Delete a previously generated QR code from your account. This frees up resources and removes the QR code from your history.
Endpoint
Delete a specific QR code by its unique key
DELETEhttps://api.xtartapp.com/utils/qr-code/{qrKey}
*Authentication
You must use a Bearer token provided by the dashboard to use for authentication. Add the token to the Authorization header.
Request body
Name | Type | Required | Max | Description |
---|---|---|---|---|
qrKey | string | Yes | - | The unique identifier of the QR code to delete (provided in the URL path) |
Response
Name | Type | Description |
---|---|---|
data | object | The data of the QR code deletion response |
data.success | boolean | Indicates whether the QR code was successfully deleted |
metadata | object | Metadata about the QR code deletion request |
metadata.cost | number | The cost of the QR code deletion request |
Errors
{
"error": "string",
"code": "string"
}
HTTP Status | Error Code | Message |
---|---|---|
400 | INVALID_PAYLOAD | Occurs when the payload is invalid. |
400 | INVALID_REQUEST | The request is invalid. |
400 | UTILS_QR_CODE_ERROR | Error during QR code deletion process. |
404 | QR_CODE_NOT_FOUND | The specified QR code was not found. |
403 | PERMISSION_DENIED | You do not have permission to delete this QR code. |
400 | INSUFFICIENT_BALANCE | The user has insufficient balance to perform this operation. |
401 | UNAUTHORIZED | The token is invalid or missing. |
429 | TOO_MANY_REQUESTS | The request limit has been reached. |