API Reference > imodeljs-clients > iModelHubClient > IModelBaseHandler > deleteInstance deleteInstance Method Delete a strongly typed instance. Sends a request body with a WSG instance. deleteInstance<T extends WsgInstance>(requestContext: AuthorizedClientRequestContext, relativeUrlPath: string, instance?: T, requestOptions?: WsgRequestOptions): Promise<void> Parameter Type Description requestContext AuthorizedClientRequestContext The client request context relativeUrlPath string Relative path to the REST resource. instance T Instance to be deleted. requestOptions WsgRequestOptions WSG options for the request. Returns - Promise<void> Promise resolves after successfully deleting instance. Defined in core/clients/src/imodelhub/BaseHandler.ts Line 144 Last Updated: 13 June, 2024