Aller au contenu principal

PATCH /teams/:uuid

Updates an existing team.

Required Parameters

ParameterTypeDescription
uuidstringThe identifier of the team

Optional Parameters

ParameterTypeDescription
namestringThe new name that will be given to the team

Example Request

curl -X PATCH "https://api.callbell.eu/v1/teams/414a6d692bd645ed803f2e7ce360d4c8" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json" \
-d '{"name": New team name"}'

Response

ParameterTypeDescription
teamTeamThe object representing the team.

Example Response

response.json
{
"team": {
"uuid": "ad42a09715814e6483b1c5debd6a2dbc",
"name": "New name",
"createdAt": "2020-11-13T21:08:53Z",
"default": true,
"members": 2
}
}