Skip to main content
Removes (unenrolls) one of the user’s attached cards. Irreversible for that enrollment: any virtual cards minted against it are closed first, then the card is unenrolled at the network. Always confirm with the user before calling. Get ids from list_attached_cards; the user can re-attach the same card later with attach_card.

Parameters

Returns

A confirmation with the removed id, status: "revoked", and closedCards, the number of virtual cards minted against it that were closed. An unknown id returns status: "not_found" (call list_attached_cards for current ids); if removal is temporarily unavailable you get status: "retry" with the enrollment unchanged.

Example