API Reference > imodeljs-backend > iModels > ConcurrencyControl > requestResourcesForDelete requestResourcesForDelete Method Beta Request the locks and/or Codes that will be required to delete the specified elements and/or models. This is a convenience method. It builds a request and sends it to the iModel server. It does not delete the elements or models. requestResourcesForDelete(ctx: AuthorizedClientRequestContext, elements: ElementProps[], models?: ModelProps[], relationships?: RelationshipProps[]): Promise<void> Parameter Type Description ctx AuthorizedClientRequestContext RequestContext elements ElementProps[] The elements that will be deleted models ModelProps[] The models that will be delete relationships RelationshipProps[] The relationships that will be deletedSee ConcurrencyControl.requestResources, ConcurrencyControl.requestResourcesForUpdate, ConcurrencyControl.requestResourcesForInsert Returns - Promise<void> Defined in core/backend/src/ConcurrencyControl.ts Line 364 Last Updated: 12 June, 2024