Skip to main content
DELETE
/
v1
/
policies
/
{policyId}
Delete policy
curl --request DELETE \
  --url https://api.ledger.so/v1/policies/{policyId} \
  --header 'Api-Key: <api-key>'
{
  "object": "policy",
  "id": "<string>",
  "deleted": true
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Path Parameters

policyId
string
required

The policy ID

Response

Policy deleted

object
string
Example:

"policy"

id
string
deleted
boolean
Example:

true