cURL
curl --request DELETE \ --url https://api.ledger.so/v1/policies/{policyId} \ --header 'Api-Key: <api-key>'
{ "object": "policy", "id": "<string>", "deleted": true }
Delete a policy template. Fails if the policy is currently in use by agents or cards.
API key for authentication. Get your key from the Dashboard.
The policy ID
Policy deleted
"policy"
true