Skip to content
View as Markdown
View as Markdown

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

Function: removeInstance()

removeInstance(name, options): Promise<void>

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

Remove an instance from dw.json.

Parameters

name

string

Name of the instance to remove

options

RemoveInstanceOptions = {}

Options for removal

Returns

Promise<void>

Throws

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

Released under the Apache-2.0 License.