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

NameTypeRequiredMaxDescription
qrKeystringYes-The unique identifier of the QR code to delete (provided in the URL path)

Response

NameTypeDescription
dataobjectThe data of the QR code deletion response
data.successbooleanIndicates whether the QR code was successfully deleted
metadataobjectMetadata about the QR code deletion request
metadata.costnumberThe cost of the QR code deletion request

Errors

{
  "error": "string", 
  "code": "string"
}
HTTP StatusError CodeMessage
400INVALID_PAYLOADOccurs when the payload is invalid.
400INVALID_REQUESTThe request is invalid.
400UTILS_QR_CODE_ERRORError during QR code deletion process.
404QR_CODE_NOT_FOUNDThe specified QR code was not found.
403PERMISSION_DENIEDYou do not have permission to delete this QR code.
400INSUFFICIENT_BALANCEThe user has insufficient balance to perform this operation.
401UNAUTHORIZEDThe token is invalid or missing.
429TOO_MANY_REQUESTSThe request limit has been reached.