Delete a Diamond

DELETE/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.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

diamond_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/automations/diamond/string"
Empty