Nova Help

Remove, pause and restore team members with the API

Preview what removing a person would change, hand their open work to someone, pause and resume access, and restore a former member.

Updated in release 0.0.1

Team members live under /v1/organizations/me/users/. A person is addressed by their user_… uid (How records are identified). Every route below also needs the organization's Team settings to be on.

A person's state

Each row of GET /v1/organizations/me/users/ carries member_status:

Value Meaning
active On the team.
paused On the team, but signed out of this business. Their work stays theirs; they take no seat and are not offered for new work.
invited An invitation is waiting to be accepted.
former Was on the team. Listed only with include_former=true, as a slim row (name, uid, employee ID; no email, phone or roles).

assignable=true never returns a paused or former person.

Preview a removal

GET /v1/organizations/me/users/{user_uid}/removal-preview/ (permission users.memberships.revoke) answers what removing the person would change: blockers (a rule that stops the removal, with a sentence and a next step), accountability (AI teammates and API keys they answer for), and groups. Each group has a key, a mode (handover, automatic or info), a count for the whole organization and the items you may open. Add give_to={user_uid} to see what that person could take (recipient.cannot_take, recipient.conflicts). GET …/removal-preview/items/?kind=jobs&cursor=… pages through one group.

Remove a person

POST /v1/organizations/me/users/{user_uid}/membership/revoke/

{
  "reason_code": "administrative_correction",
  "reason": "Moved away",
  "handover": {
    "default": {"action": "give", "to_user_uid": "user_…"},
    "groups": {"tasks": {"action": "unassign"}},
    "accountable_user_uid": "user_…"
  }
}

handover is optional. Without it everything the person holds is left unassigned (open jobs land in Needs assignment) and every automatic effect still runs. accountable_user_uid is required when the person answers for an AI teammate or an API key. The response lists what happened per group and needs_assignment_count. Customers are never messaged about a removal.

A refused removal changes nothing. The codes: last_owner, last_organization_administrator, cannot_remove_self, member_is_software, member_still_accountable, handover_recipient_unavailable, handover_recipient_required, handover_group_unknown.

Pause and resume

GET …/{user_uid}/pause-preview/ (permission users.memberships.pause) returns blockers, the upcoming work count, whether the person is on the clock, and any AI teammates or API keys that need a new accountable person.

Use POST …/{user_uid}/membership/pause/ with an optional note and accountable_user_uid when accountability must move. Use POST …/{user_uid}/membership/resume/ to return access. Both need users.memberships.pause. A paused person's requests to this business answer 403 org_membership_paused. Resume is refused with the plan's seat-limit error when no seat is free. Other codes: member_already_paused, member_not_paused, cannot_pause_self.

Former members

  • GET /v1/organizations/me/users/former/ and GET …/former/{user_uid}/ (users.read) returns when and how they left, what was handed over, and the roles and branches they had. For callers who can restore, restore_role_options lists the role keys and labels they can choose.
  • POST …/former/{user_uid}/restore/ (users.memberships.restore) with role_names, branch_uids (at least one), optional default_branch_uid, employee_id and restore_lane. Include reason_code and reason when the organization's reason policy requires them. The answer's mode is restored, or invited when the person left on their own or their name was removed (they must accept). Old work stays with its current assignees. Restore returns restore_roles_not_allowed if the selected roles exceed the caller's role-management authority, and owner_role_not_allowed if the caller cannot grant Owner. Other errors include branches_required, branch_unavailable, roles_required, role_unavailable, employee_id_taken and former_member_invite_pending.
  • POST …/former/{user_uid}/anonymize/ (users.memberships.anonymize, a reason is required) replaces the name with "Former member" in this business's history. The employee ID stays.

Adding someone through POST /v1/organizations/me/users/ who is paused or a former member answers 409 member_paused or 409 former_member, with details.cta.path pointing at the right place.

Webhooks

identity.membership.removed, identity.membership.paused, identity.membership.resumed and identity.membership.restored carry the person's user_… uid as the subject (Receive webhooks when records change).

Was this helpful?