BoldSales

API Documentation

Unlock a pipeline record

patch/api/v1/pipelines/records/{recordId}/unlock

Unlocks a specific pipeline record using its unique identifier. Unlocking a record allows modifications to resume. The reason for unlocking is optional.

Code snippet

curl -X 'PATCH' \
  'https://{yourdomain}/api/v1/pipelines/records/{recordId}/unlock' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json; x-api-version=1.0' \
  -d '{
    "reason": "Approval completed, record unlocked."
  }'

Path parameters

recordIdintegerRequiredThe unique identifier of the pipeline record to unlock.

Request body

reasonstringThe reason for unlocking the pipeline record. Optional.

Example response

200 Success

{
  "message": "Pipeline record unlocked successfully."
}