Cancel Bre-B Key

Overview

This endpoint revokes (cancels) a previously issued Bre-B Key. Once canceled, the key can no longer be used to authorize transactions or operations associated with the customer’s account.

Endpoint Details

DefinitionDescription
Endpointhttps://bre-b-sandbox.api.visionamos.passportfintech.com/v1/paas/entities/customers/accounts/keys/{key_id}
MethodDELETE
HeadersAccept-Language, Content-Length, Content-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Request Body

FieldTypeDescription
idStringUnique identifier of the Bre-B Key to be deleted.

Example Request

JSON
Copy

Response

  • HTTP Status Code 200 OK.

There is no response body returned on success.

Common Errors and Handling

HTTP Status CodeMeaningDescription
400Bad RequestMalformed or missing id in path/body
401UnauthorizedMissing/expired bearer token, or token lacks key cancellation scope
403ForbiddenCaller does not have permission to cancel this key
404Not FoundThe key with the given id does not exist or has already been canceled
500Server ErrorUnexpected error; retry or contact support

Best Practices

  • Always include the key identifier in both the path and the request body to ensure consistency.
  • Treat 200 OK as a confirmation of success.
  • Revoke keys immediately if you suspect compromise or misuse.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard