Cancel QR code
Cancels a dynamic QR code. Only dynamic (single_use) QR codes can be cancelled.
Static (multiple_use) QR codes cannot be cancelled.
Authorization
oauth collectionsAuthorizationBearer <token>
In: header
Scope: collections
Path Parameters
collection_idstring
The collection ID
Match
^[A-Za-z]{2,7}_[\w-]{22}$Example
"bbcol_5tgliBmzjZ6mpQPRbQjfKj"idstring
The QR code ID
Match
^[A-Za-z]{2,7}_[\w-]{22}$Example
"bbqr_5tgliBmzjZ6mpQPRbQjfKj"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://breb-participant.sandbox.mono.la/api/v1/collections/bbcol_5tgliBmzjZ6mpQPRbQjfKj/qr/bbqr_5tgliBmzjZ6mpQPRbQjfKj"Empty
{
"code": "400 Bad Request",
"errors": [
{
"error_code": "qr_not_dynamic",
"message": "Only dynamic QR codes can be cancelled",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Malformed request"
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "missing_authorization_header",
"message": "`Authorization` header is missing.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Authorization header is missing or invalid."
}{
"code": "403 Forbidden",
"errors": [
{
"error_code": "not_authorized",
"message": "Not authorized to have access to this resource.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Not authorized to have access to this resource"
}{
"code": "404 Not Found",
"errors": [
{
"error_code": "collection_not_found",
"message": "The collection doesn't exist",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Resource not defined"
}{
"code": "409 Conflict",
"errors": [
{
"error_code": "qr_already_canceled",
"message": "The QR code has already been cancelled",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Conflict"
}{
"code": "500 Internal Server Error",
"errors": [
{
"error_code": "internal_error",
"message": "An unexpected error occurred",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Something went wrong on the Server"
}{
"code": "503 Service Unavailable",
"errors": [
{
"error_code": "service_is_unavailable",
"message": "The service is unavailable, Please try again later",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Service unavailable"
}