Delete Key

Overview

This endpoint allows for the deletion of a Bre-B Key that was previously created. Deleting a key will update the federated node and synchronize with the centralized node managed by Banco de la Republica.

Once cancelled, keys cannot be reactivated. However, it is possible to recreate them.

Endpoint Details

DefinitionDescription
Endpointhttps://api.paas.sandbox.co.passportfintech.com/v1/keys/:key_id
MethodDELETE
HeadersContent-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Request Body

  • No request body

Example Request

JSON
Copy

Response Body

  • HTTP Status Code: 204 No Content.
  • No response body will be returned.

Common Errors and Handling

HTTP Status CodeMeaningDescription
400 Bad RequestInvalid DataRequired fields are missing or contain incorrect values.
401 UnauthorizedExpired TokenThe access token is invalid or has expired.
403 ForbiddenAccess DeniedThe request is not authorized to delete a Key.
500 Internal Server ErrorServer ErrorAn unexpected error occurred while deleting the Key.

Best Practices

  • Always include the key identifier in the path parameter.
  • Treat 204 No Content 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