POST
/
api
/
{projectId}
/
collaborators
/
add
Add collaborator
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/collaborators/add \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "usernameOrEmail": "<string>"
}'
{
  "success": true,
  "error": "<string>",
  "id": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Body

application/json
usernameOrEmail
string
required

Username or e-mail address

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Unique identifier of the created entity.

error
string

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