To remove an employee assigned to a space, you must re-assign the space to a different user.
Assignees cannot be deleted, only replaced, even if their accounts have been disconnected.
To assign a space to another employee, follow the steps described in the following article: Assign spaces to housekeepers