Update Aug 29th 2019: Hyperledger Composer has been deprecated. Please see the README for more information.

Hyperledger Composer Card Delete

Composer Card Delete

Deletes a business network card.

composer card delete --card admin@tutorial-network

Syntax

Options:
  --help         Show help  [boolean]
  -v, --version  Show version number  [boolean]
  --card, -c     The name of the card to delete  [string] [required]

Javascript API Example

const CardDelete = require('composer-cli').Card.Delete;

let options = {
  card: 'admin@tutorial-network'
};

CardDelete.handler(options);