BoldSales

API Documentation

Remove collaborators from a pipeline record

delete/api/v1/pipelines/records/{recordId}/collaborators

Removes one or more collaborators from the specified pipeline record. After removal, those users lose collaborator access to the pipeline record.

Code snippet

curl -X 'DELETE' \
  '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 '[
    125,
    126
  ]'

Path parameters

recordIdlongRequiredThe unique identifier of the pipeline record.

Request body

An array of user IDs to be removed as collaborators from the pipeline record.

[
  125,
  126
]

Example response

200 Success

{
  "message": "Collaborator(s) removed successfully."
}