API Reference > imodelhub-client > iModelHubClient > IModelBaseHandler > deleteInstance deleteInstance Method Delete a strongly typed instance. Sends a request body with a WSG instance. deleteInstance<T extends WsgInstance<T>>(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 clients/imodelhub/src/imodelhub/BaseHandler.ts Line 203 Last Updated: 12 June, 2024