curl --request DELETE \
--url https://api.yapily.com/consents/{consentId} \
--header 'Authorization: Basic <encoded-value>'{
"meta": {
"tracingId": "9aacaccc6dbf4a86960c9541969087a0"
},
"data": {
"id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
"deleteStatus": "SUCCESS",
"institutionId": "modelo-sandbox",
"institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a",
"creationDate": "2021-06-08T10:59:35.138Z"
}
}Delete a consent using the consent Id
curl --request DELETE \
--url https://api.yapily.com/consents/{consentId} \
--header 'Authorization: Basic <encoded-value>'{
"meta": {
"tracingId": "9aacaccc6dbf4a86960c9541969087a0"
},
"data": {
"id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
"deleteStatus": "SUCCESS",
"institutionId": "modelo-sandbox",
"institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a",
"creationDate": "2021-06-08T10:59:35.138Z"
}
}Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.
Mandatory. The consent Id of the Consent to update.
Optional. Whether to force the deletion.
Was this page helpful?