Skip to content

Update team

PATCH
/api/v1/teams/{id}

Updates a single team by ID.

id
required
integer

Team ID

object
name
string
badge_color
string
Allowed values: white black gray red green blue yellow purple pink orange brown cyan lime teal indigo

Successful

object
id
required
integer
Example
12345
name
required
string
Example
Liverpool FC
badge_color
required
string
Allowed values: white black gray red green blue yellow purple pink orange brown cyan lime teal indigo
workspace_id
required
integer
Example
12345
created_at
required
string format: date-time
Example
2023-08-23T10:30:00.000Z

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Not Found

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}