POST
/
api
/
organizations
/
{organizationId}
/
add-project-collaborator
Add a collaborator to a project within an organisation
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/add-project-collaborator \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "projectId": 123,
  "userId": 123
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

application/json
projectId
integer
required

The ID of the project to add the collaborator to.

userId
integer
required

The user ID to add to the project. The user must be an admin of the organization.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)