Skip to content

DeleteCanisterOptions

Defined in: packages/pic/src/pocket-ic-types.ts:916

Options for deleting a given canister.

Principal

canisterId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:920

The Principal of the canister to delete. It must be stopped.


optional sender: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:926

The Principal to send the request as. Defaults to the anonymous principal.


optional targetSubnetId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:931

The ID of the subnet that the canister resides on.