v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Teams > Membership

Updates a Membership

Update the membership to either make the employee a lead of the team or remove them as a lead.

put/api/2026-07-01/resources/teams/memberships/{id}

Path parameters

idstring required

Membership id.

Request body

idstring required

Membership id.

leadboolean

Assign an employee as a lead for their respective team.

Example request

{
  "id": "1",
  "lead": true
}

Response

OK

idstring required

Membership ID

company_idstring

Company ID of the membership

employee_idstring required

Employee ID of the membership

team_idstring required

Team ID of the membership

leadboolean required

Whether the employee is a lead of the team or not

Example response

{
  "id": "1",
  "company_id": "5",
  "employee_id": "12",
  "team_id": "4",
  "lead": true
}