1. Log out from your Apple ID

  1. On your device go to system preferences → Apple ID → Log out
  2. Follow the steps to log out and deactivate “search my device” if necessary

2. Delete content & settings

  1. Select Menu system Preferences → general → transfer or reset → delete all settings and content

  2. Click 'Transfer or reset' on the right-hand side, then click 'Delete all settings and content'

    delete all settings and content

    delete all settings and content

  3. Enter your admin information in the deletion wizard and click on “unlock”

  4. Check items that will be removed in addition to your content and settings.

  5. If your Mac has multiple user accounts, click on the arrow next to your account name to check the items.

  6. Click “continue” and follow the on-screen instructions.

<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />

See full Apple guide: https://support.apple.com/de-de/102664

</aside>