Skip to main content
POST
/
auth
/
organization
/
update-team
Update Organization Team
curl --request POST \
  --url https://cloud.kaneo.app/api/auth/organization/update-team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "teamId": "<string>",
  "data": {
    "id": "AuXc1V6jFYqK1yGaIMEHsdDDGDzRcAg2",
    "name": "<string>",
    "organizationId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "organizationId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
teamId
string
required

The ID of the team to be updated. Eg: "team-id"

data
object
required

Response

Team updated successfully

id
string
required

Unique identifier of the updated team

name
string
required

Updated name of the team

organizationId
string
required

ID of the organization the team belongs to

createdAt
string<date-time>
required

Timestamp when the team was created

updatedAt
string<date-time>
required

Timestamp when the team was last updated