API Reference > imodeljs-backend > iModels > ConcurrencyControl > reserveCodes reserveCodes Method Reserve the specified codes. See CodeHandler for details on what errors may be thrown. reserveCodes(requestContext: AuthorizedClientRequestContext, codes: CodeProps[]): Promise<HubCode[]> Parameter Type Description requestContext AuthorizedClientRequestContext codes CodeProps[] Returns - Promise<HubCode[]> Defined in core/backend/src/ConcurrencyControl.ts Line 511 Last Updated: 13 June, 2024