Skip to main content

Update

Description#

Update a team.

Request#

HTTP Method: PUT

ParameterDescription
nameThe new name for the team.
Path ParameterDescription
team-idID of the team

Sample request#

curl -X PUT \  https://<tenant-domain>/api/v1/teams/<team-id> \  -H 'content-type: application/json' \  -H 'x-user-email: <email-address>' \  -H 'x-user-token: <api-token>'  -d '{        "name": "Security team 1"      }'

Response#

A successful request will return a JSON object describing the updated team

Field description#

ParameterDescription
idThe team ID.
nameThe team name.

Sample response#

{  "id": 1,  "name": "Security team 1"}