pub fn cancel_item_attributes_approval<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    item: T::ItemId,
    delegate: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
    witness: CancelAttributesApprovalWitness
)
Expand description

Cancel the previously provided approval to change item’s attributes. All the previously set attributes by the delegate will be removed.

Origin must be Signed and must be an owner of the item.

  • collection: Collection that the item is contained within.
  • item: The item that holds attributes.
  • delegate: The previously approved account to remove.

Emits ItemAttributesApprovalRemoved on success.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::cancel_item_attributes_approval.