Teams

Update team

Renames a team or changes its description. Merge-patch on name/description; membership is managed through the /members subroutes, never here. Allowed for holders of team:manage and for administrators of this particular team.

patch/team/{id}

Request

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

Path parameters

idstring required

Team id (team_…).

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

namestring
descriptionstring nullable

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.