Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / config / removeInstance

Function: removeInstance()

removeInstance(name, options): void

Defined in: packages/b2c-tooling-sdk/src/config/dw-json.ts:343

Remove an instance from dw.json.

Parameters

name

string

Name of the instance to remove

options

RemoveInstanceOptions = {}

Options for removal

Returns

void

Throws

Error if instance not found or dw.json doesn't exist

Released under the Apache-2.0 License.