Skip to main content
PUT
/
v1
/
teams
/
{id}
cURL
curl --request PUT \
  --url https://api.novacal.io/v1/teams/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "username": "<string>",
  "about": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "name": "<string>",
    "username": "<string>",
    "about": "<string>",
    "logo": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer<int64>
required

ID of team to update

Body

application/json

Team data to update

name
string
required

The name of the team

Maximum string length: 55
username
string
required

The unique username for the team (must be unique across teams and users)

Maximum string length: 255
Pattern: ^[a-zA-Z0-9\-\_]+$
about
string

Description or about text for the team

Maximum string length: 5000

Response

200 - application/json

Team updated

success
boolean
required

Indicates whether the request was successful

Example:

true

data
object
required