cURL
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>" }
Updates a team in the database.
Use your Formbricks x-api-key to authenticate.
The ID of the team
The ID of the organization
The team to update
The body is of type object.
object
Team updated successfully.
The response is of type object.
Was this page helpful?