Skip to main content
POST
/
api
/
projects
/
v1
/
projects
/
{projectId}
/
collaborators
Add a collaborator to this project
curl --request POST \
  --url https://api.example.com/api/projects/v1/projects/{projectId}/collaborators \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "id": "662604702b7e5d347dbe7a908"
}
'
{
  "collaborator": {
    "id": "662604702b7e5d347dbe7a908"
  },
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>"
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

projectId
string
required

Project ID

Body

application/json

Collaborator ID

id
string
required

userId of collaborating user or organization

Example:

"662604702b7e5d347dbe7a908"

role
enum<string>
required

Collaborator's role in the project

Available options:
contributor,
launcherUser,
resultsConsumer,
projectImporter

Response

Success

collaborator
object
required
metadata
object
required