DELETE
/
links
/
bulk
JavaScript
import Codeqr from '@codeqr/ts';

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

const bulk = await client.links.bulk.delete({ linkIds: ['clux0rgak00011...', 'clux0rgak00022...'] });

console.log(bulk.deletedCount);
{
  "deletedCount": 123
}
This is a destructive action and cannot be undone. Proceed with caution. Also, webhook events will not be triggered when using this endpoint.

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

Comma-separated list of link IDs to delete. Maximum of 100 IDs. Non-existing IDs will be ignored.

Example:
["clux0rgak00011...", "clux0rgak00022..."]

Response

The deleted links count.

deletedCount
number
required

The number of links deleted.