Skip to main content

Remove a user from a workspace

Tool: oppex.admin.removeUser

Removes a person from one workspace. Their account and their access to other workspaces stay as they are. To remove someone from the whole organization, use Deactivate a user instead.

What you provide​

InputRequiredDescription
WorkspaceYesThe workspace to remove the person from.
PersonYesThe person to remove.

Example prompts​

  • "Remove Han Solo from the Rebel Alliance workspace."
  • "Jordan Lee moved teams — take them out of the Staging workspace but keep their other access."
  • "Remove every contractor from this workspace."

For a group of people, the assistant lists them first and removes each one after you confirm.

Who can use it​

A Workspace Admin or higher in that workspace.

Limits and errors​

MessageMeaning
"User cannot be removed (org-level admin or not a member)"The person is an Account Owner or Account Admin, who belong to every workspace, or they are not a member of this workspace.
On-call or incident linksThe person is still on an escalation policy or schedule in this workspace, or has unresolved incidents assigned there. The message names each one.
Acting on your own accountYou cannot remove yourself.
Take the person off rotations first

Oppex will not remove someone who could still be paged in the workspace. Take them off the named escalation policies and schedules, and reassign their open incidents, then try again.

FAQ

Does removing someone delete their account?

No. They keep their account and their other workspaces.

Why can't I remove an Account Admin?

Account Owners and Account Admins have access to every workspace. To remove one, deactivate their account.

What happens to their incidents?

Oppex refuses the removal while they have unresolved incidents assigned in the workspace. Reassign or resolve those incidents first.

In this article

FAQ

Does removing someone delete their account?

No. They keep their account and their other workspaces.

Why can't I remove an Account Admin?

Account Owners and Account Admins have access to every workspace. To remove one, deactivate their account.

What happens to their incidents?

Oppex refuses the removal while they have unresolved incidents assigned in the workspace. Reassign or resolve those incidents first.