Teams

Update a team

Updates an existing team name.

patch/teams/{id}

Request

  • Base URL
    https://api.modjo.ai/v2
  • URL
    https://api.modjo.ai/v2/teams/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Team ID

Example:1

Request body

namestring required

Team name

Example request

{
  "name": "Sales"
}

Response

Team updated

idnumber required

Team ID

namestring required

Team name

createdOnstring nullable required

Creation timestamp in ISO 8601 format

modifiedOnstring nullable required

Last modification timestamp in ISO 8601 format

Example response

{
  "id": 1,
  "name": "Sales",
  "createdOn": "2024-06-15T14:30:00.000Z",
  "modifiedOn": "2024-06-15T15:00:00.000Z"
}

Changes

No recorded changes to this operation across all 8 revisions of this API.