Hi @Shubhanshu_S,
(1) We are trying to revoke the granted consent. we are getting statuscode 200 in the response. but status of consent doesn’t change. (2) If we try to revoke it again. It shows “Consent is not in Granted status”
(1) API URL : https://dev.abdm.gov.in/cm/consents/revoke
Request : {“consents”:[“0a2f4dc1-ced9-4707-ac02-f0853505f2ce”]}
Response : [Blank]
StatusCode : 200
(2) API URL : https://dev.abdm.gov.in/cm/consents/revoke
Request : {“consents”:[“0a2f4dc1-ced9-4707-ac02-f0853505f2ce”]}
Response : {“error”:{“code”:1428,“message”:“Not a granted consent.”}}
StatusCode : PreconditionFailed
Thanks