Revoke user consent for a scheme token and shopper. Consent is only available if you included an optional customerConsent when you created the token.
A 404 usually means that there's no consent for this token and shopper, the merchantId or merchantShopperId doesn't match exactly, or the token isn't in this vault.
- Production environmenthttps://api-services.pxp.io/api/v1/token-vault/{ownerType}/{ownerId}/vaults/scheme-tokens/{schemeTokenId}/user-consents/{merchantId}/{merchantShopperId}
- Sandbox environmenthttps://api-services.test.pxp.io/api/v1/token-vault/{ownerType}/{ownerId}/vaults/scheme-tokens/{schemeTokenId}/user-consents/{merchantId}/{merchantShopperId}
curl -i -X DELETE \
https://api-services.pxp.io/api/v1/token-vault/MerchantGroup/MERCHANT-GROUP-1/vaults/scheme-tokens/7f46c09d-d1d1-4f94-9a88-6e8ac32e6341/user-consents/MERCHANT-001/6152