Remove a user or team member from a workspace
Removes a member from the workspace. Idempotent: removing a member who is absent or already removed succeeds with data null and meta.noOp true rather than 404, and never reports whether an id exists. Users may always remove themselves, unless their only membership is through a team. Removing anyone else requires belonging to the workspace’s own organization; a denial is 401. Unlike the add operation, removal reaches members from other organizations and members whose user account has been archived; neither can be added back by a caller from this workspace’s organization, only by someone from that member’s own organization. Removal ends the membership and mutes notifications, but on a private workspace it does not by itself revoke that person’s access. Note also that updatedAt on the returned membership is not advanced by a removal, so it cannot be used to detect one; read state instead.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Organization user ID to remove. Provide this or teamId, not both.
Organization team ID to remove. Provide this or userId, not both.