QRdx
HelpGuidesDevelopersReact librarySelf-hosting

Delete a saved barcode

Moves a saved barcode to the trash, where the dashboard can restore it. ?permanent=true deletes it for good instead.

Printed barcodes keep working either way: they're static.

Scope: codes:write, for API keys and OAuth tokens alike.

DELETE
/barcodes/{id}

Authorization

headerAuthorizationBearer <qrdx_ followed by 40 letters and digits>

An API key, sent as Authorization: Bearer qrdx_…. Create one in Settings → API keys & apps: it is shown once. A key acts on the workspace it was created in as its creator, with their current role there, and only within its scopes, the same scopes as OAuth (each operation names the one it needs). API keys.

Path Parameters

id*string

The barcode's id

Length1 <= length <= 64

Response Body

Deleted

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.qrdx.dev/v1/barcodes/cm5barcode0spring0box0001'
Example Response
{  "data": {    "id": "cm5barcode0spring0box0001",    "deleted": false,    "trashed": true  }}

Last updated on