Skip to main content

Delete consent

DELETE 

/v1/consents/consentId

Description​

Revoke a consent for certain actions within the PSD2 framework. You can remove any permissions associated with a specific consent, ultimately providing greater control over data access and usage.

tip

This step should be used with caution. Once a consent is revoked, the TPP (Third-Party Provider) will no longer have access to the data associated with the consent.

Request​

Path Parameters

    consentId stringrequired

    The ID of the consent as returned by the consent request.

Header Parameters

    X-Request-ID uuidrequired

    The unique request identifier associated with the consent.

    Certificate stringrequired

    The certificate used for signature verification.

    ClientId stringrequired

    The client ID associated with the request.

    Ocp-Apim-Subscription-Key stringrequired

    A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.

Responses​

Bad Request
Schema
    tppMessages object[]
  • Array [
  • category int32

    Possible values: [0, 1]


    Description: 0 = "ERROR", 1 = "WARNING"

    code int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]


    Description: 0 = "FORMATERROREnum", 1 = "PARAMETERNOTCONSISTENTEnum", 2 = "PARAMETERNOTSUPPORTEDEnum", 3 = "SERVICEINVALIDEnum", 4 = "RESOURCEUNKNOWNEnum", 5 = "RESOURCEEXPIREDEnum", 6 = "RESOURCEBLOCKEDEnum", 7 = "TIMESTAMPINVALIDEnum", 8 = "PERIODINVALIDEnum", 9 = "SCAMETHODUNKNOWNEnum", 10 = "CONSENTUNKNOWNEnum", 11 = "SESSIONSNOTSUPPORTEDEnum", 12 = "INVALIDTOTALAMOUNTEnum"

    path string
    text string
  • ]
  • links object
    property name object
    href string
Loading...