---
title: "PUT /payments/{paymentId}/teams/{teamId}"
method: PUT
path: "/payments/{paymentId}/teams/{teamId}"
tags: ["team-controller"]
---

# PUT /payments/{paymentId}/teams/{teamId}

`PUT /payments/{paymentId}/teams/{teamId}`

## Request

- Base URL: `http://api.klausapp.com`
- URL: `http://api.klausapp.com/payments/{paymentId}/teams/{teamId}`
- Auth: API key in header `X-Zendesk-Authn`
- TypeScript: <https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/docs/payments/:paymentId/teams/:teamId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `paymentId` integer, required
- `teamId` integer, required

## Headers

- `X-Zendesk-Doorman-Auth-Response` string, required

## Request body

- TeamRequest
  - `teamName` string
  - `ratingGoodLabel` string
  - `ratingNeutralLabel` string
  - `ratingBadLabel` string
  - `pictureUrl` string
  - `addAllTokens` boolean

## Response `200`

OK

- ServiceResponseLong
  - `data` integer
  - `total` integer
  - `messages` Message[]
    - `errorCode` string
    - `error` object

---

[API](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation.md) - [All operations](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/revisions/a2efec2e5074?raw)
