Skip to content

UninstallCodeOptions

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

Options for uninstalling the code of a given canister.

Principal

canisterId: Principal

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

The Principal of the canister to uninstall the code of.


optional sender: Principal

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

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


optional targetSubnetId: Principal

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

The ID of the subnet that the canister resides on.