PATCH
/
v1
/
teams
/
{teamId}

Authorizations

Headers

x-pd-external-trace-id
string

The external trace ID. The length ranges from 0 to 128 characters.

Path Parameters

teamId
string
required

The ID of your team.

Body

application/json
name
string

The new name of the team.

Either name or colorIndex must be specified, or both.

colorIndex
string[]

A list of color palettes defined in RGB hexadecimal format (e.g., #FF0000) that specifies your theme colors.

Either name or colorIndex must be specified, or both.

Response

200 - application/json
code
integer
required

Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. Possible error codes include:

  • 100: Bad request.
  • 201: Request frequency limit.
  • 9999: Internal error.
  • 100001: Invalid operation.
data
object
required

Null is returned when the operation is successful.