Authorization: Bearer <access_token> (401 when missing or expired) and X-API-Key (403 when missing or not matching).
Deregisters one of your keys: it stops receiving transfers and frees its slot. QR codes tied to it stop taking payments. Send the key URL-encoded (%40acmepagos).
Authentication
Request
Path parameters
- The key, URL-encoded (
keystringrequired@acme→%40acme; useencodeURIComponent).Example: "@luisgomez"
Responses
204Done; no content.
No content.
401The access token is missing, invalid or expired.
403The `X-API-Key` is missing, invalid or does not match the token.
404The resource does not exist.
429Too many requests: wait the seconds in `Retry-After`.
500Internal error.
Errors
The exact causes this operation can answer, from the error catalog. Compare error and the HTTP status; the cause text is stable but meant for people.
| HTTP | error | cause | Description |
|---|---|---|---|
| 404 | NotFoundApiError | bre-b key "%s" not found | The key does not exist (in your workspace, or in the Bre-B directory when resolving it). Test data: @notfound. |
Also, like every authenticated endpoint: 401 Unauthorized, 403 Forbidden, 429 Too Many Requests (with Retry-After) and 500.
Examples
Delete one of your keys204
Request
curl -X DELETE https://sandbox.zulu.com.co/v1/bre-b/keys/%40acmepagos \
-H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
-H "X-API-Key: $ZULU_API_KEY"Response 204
No content.A key that is not yours404
Request
curl -X DELETE https://sandbox.zulu.com.co/v1/bre-b/keys/%40otrallave \
-H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
-H "X-API-Key: $ZULU_API_KEY"Response 404
{
"error": "NotFoundApiError",
"cause": "bre-b key \"@otrallave\" not found"
}