delete
delete: (arg: PreferenceKeyArg & ITwinIdArg & TokenArg) => Promise<void>
Deletes the specified preference by key, if it exists, within the level provided.
If both iTwinId and iModelId are provided, the key will be deleted from both levels.
If the key does not exist in either level provided, then this function will do nothing.
@throws if any error occurs when deleting the preference.
Defined in
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.