Teams
Appoint or remove a team administrator
Toggles team-admin rights for one member. Team administrators may rename their team, manage its ordinary members, appoint further administrators and delete it, and may manage team-scoped connections. Appointing (is_admin: true) is allowed for team:manage or an administrator of this team; standing an administrator down (is_admin: false) requires team:manage. Nobody may appoint themselves.
patch/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_…) of a team member.
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.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.