Skip to main content

Update a Team

ENDPOINT
PUT https://api.codecoogs.com/v1/teams?id=
REQUEST BODY
{
"name": "Git Gud",
"points": 200,
}

URL Parameters


id Required

A UUID for the object.

Body Parameters


id string

A UUID for the object.


name string

The teams's name.


points integer

The number of points the team has.

Updating Team Attributes

When updating a team's information, if you prefer to keep certain attributes unchanged, simply include their current values in the request body. This ensures that only the desired attributes are modified, while retaining the existing values for those you wish to remain unchanged.

Returns

Returns a success status after successful team update. This call returns a success status and an error message if something goes wrong.