Add collaborators to a pipeline record
patch/api/v1/pipelines/records/{recordId}/collaboratorsAdds one or more collaborators to the specified pipeline record in a single request. Collaborators are given the same set of permissions as the owner of the pipeline record.
Code snippet
curl -X 'PATCH' \
'https://{yourdomain}/api/v1/pipelines/records/{recordId}/collaborators' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
-d '[
{
"id": 101
},
{
"id": 102
},
{
"id": 103
}
]'
Path parameters
| recordIdlongRequired | The unique identifier of the pipeline record. |
Request body
| idintegerRequired | The unique identifier of the user to be added as a collaborator. |
Example response
200 Success
{
"message": "Collaborator(s) added successfully."
}