Update a team

Update a team. Only the attributes present in the body are updated.

patch/teams/{uuid}

Request

  • Base URL: https://public-api.leexi.ai/v1
  • URL: https://public-api.leexi.ai/v1/teams/{uuid}
  • Auth: API key in header Authorization

Path parameters

uuidstring required

Request body

activeboolean

Defaults to true on creation. A team can only be deactivated once it has no active users.

namestring

The team name. It must be unique within your workspace.

Response

200

messagestring
successboolean

Example response

{
  "data": {
    "active": true,
    "created_at": "2024-06-14T11:00:33.534Z",
    "name": "Sales Team",
    "updated_at": "2024-06-14T11:00:33.534Z",
    "uuid": "5290728d-b3c4-4330-918d-d8f153e9500d"
  },
  "message": "Team successfully updated",
  "success": true
}

Changes

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