Delete a code
Permanently deletes a code and its scan history.
Its short link stops working, and this can't be undone. To pause a code and keep its scans, archive it with PATCH instead.
DELETE
oauth2 codes:writeheader
AuthorizationBearer <token>An OAuth 2.0 access token, sent as Authorization: Bearer <token>. Register an app in Settings → Developers, send the user through authorization (PKCE S256), then exchange the code for a token. Access tokens last 1 hour; refresh tokens 30 days. Step by step.
Scope: codes:write
id*stringThe code's id
Length
1 <= length <= 64Deleted
application/json- response
data*curl -X DELETE 'https://api.qrdx.dev/v1/codes/cm5code0spring0menu00001'Example Response
{ "data": { "id": "cm5code0spring0menu00001", "deleted": true }}Last updated on