Delete a Diamond
/automations/diamond/{diamond_id}Moves the Diamond to the trash.
A Diamond that still has memberships cannot be deleted, and deletion cannot be forced. Such requests return the state_conflict error code.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/automations/diamond/string"Update a Diamond PATCH
Updates the name, status, or stage intervals of a Diamond. Stage intervals can be updated partially. Updating `status` also requires the `diamonds.activate` permission. Interval changes apply to future scheduling; communications already scheduled for leads are not affected. Send the current `ETag` in the `If-Match` header to avoid overwriting a newer version.
List memberships GET
Returns the leads in a Diamond, paginated by cursor. The collection can be filtered by user, stage, and last update time. Credentials scoped to specific users only see the memberships of those users.