POST
/
v1
/
project-members
curl --request POST \
  --url https://cloud.activepieces.com/api/v1/project-members/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "<string>",
  "email": "<string>",
  "role": "ADMIN",
  "status": "ACTIVE"
}'
{
  "id": "<string>",
  "created": "<string>",
  "updated": "<string>",
  "email": "<string>",
  "platformId": "<string>",
  "projectId": "<string>",
  "role": "ADMIN",
  "status": "ACTIVE"
}

Authorizations

Authorization
string
header
required

Use your api key generated from the admin console

Body

application/json
projectId
string
required
email
string
required
role
required
Available options:
ADMIN
status
default:
PENDING
Available options:
ACTIVE

Response

201 - application/json
Project member is which user is assigned to a project.

Project member is which user is assigned to a project.

id
string
required
created
string
required
updated
string
required
email
string
required
projectId
string
required
role
required
Available options:
ADMIN
status
required
Available options:
ACTIVE
platformId
string | null