Codes

Delete a code

A dynamic code stops working at once and cannot be restored; a headstone holds its slug out of the pool so the short link is never given to anyone else.

Deleting a static code erases our record and revokes nothing: its destination is in the printed pattern and copies already printed keep working. The meta.note in the answer says which of the two happened.

The code comes back with status: "ARCHIVED", which is what this endpoint has always called a deleted code. confirm is optional and checked when it is sent.

delete/api/v1/codes/{id}

Request

  • Base URL: https://app.qrsalt.com
  • URL: https://app.qrsalt.com/api/v1/codes/{id}
  • Auth: HTTP bearer

Query parameters

confirmstring

Optional. When sent it must be the code's name or its short link ending, or the request is refused.

Response

The code as it was, with a note about what the delete did.

Changes

No recorded changes to this operation across all 1 revision of this API.