PUT
/
{organizationId}
/
teams
/
{id}
curl --request PUT \
  --url https://app.formbricks.com/api/v2/organizations/{organizationId}/teams/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "My team"
}'
{
  "id": "<string>",
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "name": "My team",
  "organizationId": "<string>"
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Path Parameters

id
string
required

The ID of the team

organizationId
string
required

The ID of the organization

Body

application/json
The team to update
name
string
required

The name of the team

Example:

"My team"

Response

200 - application/json
Team updated successfully.
id
string

The ID of the team

createdAt
string

The date and time the team was created

Example:

"2021-01-01T00:00:00.000Z"

updatedAt
string

The date and time the team was last updated

Example:

"2021-01-01T00:00:00.000Z"

name
string

The name of the team

Example:

"My team"

organizationId
string

The ID of the organization

Was this page helpful?