Teams

Remove team member

Removes one member from the team and returns the team. The member keeps their org membership and roles. A team administrator may remove ordinary members but not another administrator — that needs team:manage.

delete/team/{id}/members/{userId}

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/team/{id}/members/{userId}
  • Auth: HTTP bearer

Path parameters

idstring required

Team id (team_…).

userIdstring required

User id (usr_…).

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Response

OK

idstring

Team id (team_…).

namestring

Unique within the organization.

descriptionstring nullable
member_countinteger

How many people are in the team. The row carries no roster array; GET /team/{id}/member is the roster.

admin_countinteger

How many of them administer the team.

created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.