# LocationDeactivateUserError - admin - OBJECT Version: unstable ## Description The possible errors that can be returned when executing the `locationDeactivate` mutation. ### Access Scopes `read_locations` access scope. ## Fields * [code](/docs/api/admin/unstable/enums/LocationDeactivateUserErrorCode): LocationDeactivateUserErrorCode - The error code. * [field](/docs/api/admin/unstable/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/admin/unstable/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [locationDeactivate](/docs/api/admin/unstable/mutations/locationDeactivate) Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location. ## Related Unions ## Examples