Revoking a delegate immediately invalidates its token. Any future charge attempts using this token will fail with a 403 Forbidden response.
Your merchant identifier.
Path Parameters
The delegateToken to revoke.
Response
Will be true if the delegate was successfully revoked.
The new status of the delegate, which will be "revoked".
curl -X POST https://api.delegare.dev/v1/delegates/dtok_abc123xyz789/revoke \
-H "X-Delegare-Merchant-Id: your_merchant_id" \
-H "X-Delegare-Api-Key: your_api_key"
{
"success": true,
"status": "revoked"
}