POST
/
{organizationId}
/
project-teams
curl --request POST \
  --url https://app.formbricks.com/api/v2/organizations/{organizationId}/project-teams \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "teamId": "<string>",
  "projectId": "<string>",
  "permission": "read"
}'
{
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "projectId": "<string>",
  "teamId": "<string>",
  "permission": "read"
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Path Parameters

organizationId
string
required

The ID of the organization

Body

application/json
The project team to create
teamId
string
required

The ID of the team

projectId
string
required

The ID of the project

permission
enum<string>
required

Level of access granted to the project

Available options:
read,
readWrite,
manage

Response

201 - application/json
Project team created successfully.
createdAt
string

The date and time the project tem was created

Example:

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

updatedAt
string

The date and time the project team was last updated

Example:

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

projectId
string

The ID of the project

teamId
string

The ID of the team

permission
enum<string>

Level of access granted to the project

Available options:
read,
readWrite,
manage

Was this page helpful?