DELETE
/
qrcodes
/
{qrcodeId}
JavaScript
import Codeqr from '@codeqr/ts';

const client = new Codeqr({
  apiKey: 'My API Key',
});

const qrcode = await client.qrcodes.delete('qrcodeId');

console.log(qrcode.id);
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

qrcodeId
string
required

The id of the QR Code to delete. You may use either qrcodeId (obtained via /qrcodes/info endpoint) or externalId prefixed with ext_.

Response

The deleted QR Code ID.

id
string
required

The ID of the QR Code.