mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:37:00 +00:00
feature/Tweak the path of the endpoint Revoke Consent at Bank
This commit is contained in:
parent
bcf6cefa30
commit
5f8b6265d3
@ -113,7 +113,7 @@ trait APIMethods510 {
|
||||
implementedInApiVersion,
|
||||
nameOf(revokeConsentAtBank),
|
||||
"DELETE",
|
||||
"/banks/BANK_ID/consents/CONSENT_ID/revoke",
|
||||
"/banks/BANK_ID/consents/CONSENT_ID",
|
||||
"Revoke Consent at Bank",
|
||||
s"""
|
||||
|Revoke Consent specified by CONSENT_ID
|
||||
@ -141,7 +141,7 @@ trait APIMethods510 {
|
||||
)
|
||||
|
||||
lazy val revokeConsentAtBank: OBPEndpoint = {
|
||||
case "banks" :: BankId(bankId) :: "consents" :: consentId :: "revoke" :: Nil JsonDelete _ => {
|
||||
case "banks" :: BankId(bankId) :: "consents" :: consentId :: Nil JsonDelete _ => {
|
||||
cc =>
|
||||
for {
|
||||
(Full(user), callContext) <- authenticatedAccess(cc)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user