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.
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
The ID of the consent as returned by the consent request.
Header Parameters
The unique request identifier associated with the consent.
The certificate used for signature verification.
The client ID associated with the request.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
Responses​
- 400
- 401
- 403
- 404
- 405
- 406
- 409
- 429
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
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"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
Description: 0 = "CERTIFICATEINVALIDEnum", 1 = "CERTIFICATEEXPIREDEnum", 2 = "CERTIFICATEBLOCKEDEnum", 3 = "CERTIFICATEREVOKEEnum", 4 = "CERTIFICATEMISSINGEnum", 5 = "SIGNATUREINVALIDEnum", 6 = "SIGNATUREMISSINGEnum", 7 = "CORPORATEIDINVALIDEnum", 8 = "PSUCREDENTIALSINVALIDEnum", 9 = "CONSENTINVALIDEnum", 10 = "CONSENTEXPIREDEnum", 11 = "TOKENUNKNOWNEnum", 12 = "TOKENINVALIDEnum", 13 = "TOKENEXPIREDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
properties object
items object
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3]
Description: 0 = "CONSENTUNKNOWNEnum", 1 = "SERVICEBLOCKEDEnum", 2 = "RESOURCEUNKNOWNEnum", 3 = "RESOURCEEXPIREDEnum"
links object
property name object
{
"authenticationSchemes": [
"string"
],
"properties": {
"items": {}
},
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "UNKNOWNEnum"
links object
property name object
{
"statusCode": 0,
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "EXCEEDEDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}