# discountsAllocatorFunctionUnregister - admin - MUTATION Version: unstable ## Description Unregisters a discounts allocator function. ### Access Scopes `write_discounts_allocator_functions` access scope. ## Arguments * [functionExtensionId](/docs/api/admin/unstable/scalars/String): String! - The function extension id of the discounts allocator function. ## Returns * [success](/docs/api/admin/unstable/scalars/Boolean): Boolean Boolean representing whether the discounts allocator function was unregistered. * [userErrors](/docs/api/admin/unstable/objects/DiscountsAllocatorFunctionUserError): DiscountsAllocatorFunctionUserError! The list of errors that occurred from executing the mutation. ## Examples