Skip to main content
PUT
/
v2
/
teams
/
{id}
Update Team
curl --request PUT \
  --url https://public.api.serval.com/v2/teams/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "prefix": "<string>",
  "description": "<string>",
  "userIds": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "prefix": "<string>",
    "description": "<string>",
    "organizationId": "<string>",
    "createdAt": "1s",
    "userIds": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string | null
prefix
string | null
description
string | null
userIds
string[]

Response

Success

data
object