Delete QR code
Overview
Soft-delete a QR code belonging to the authenticated account-user and removes its stored image from S3.
Prerequisites
- A bearer token. Callable with Account tokens.
- The
qrCodeIdof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
DELETE /api/v1/qr-codes/{qrCodeId}
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Account tokens.
-
Authentication. The QR code must belong to the caller's own company (404 if not found).
-
The request injects the route
idinto validation data and asserts it is an existing QR code.
Rate limit
- No rate limit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
qrCodeId | integer | Required | Digits only. |
Response
data.status(string) —"success".data.message(string) —"QR code deleted successfully".
200 OK · 200
200{
"data": {
"status": "success",
"message": "QR code deleted successfully"
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
404 | Returned if not found in the account company |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Example request
curl --request DELETE \
--url "https://production-api.shoutaboutus.com/api/v1/qr-codes/123" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 11 days ago
Did this page help you?
