Skip to main content
POST
/
policies
/
proposals
/
remove
cURL
curl --request POST \
  --url https://api.onchainden.com/api/v1/policies/proposals/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Idempotency-Key: <x-idempotency-key>' \
  --data '
{
  "policyIds": [
    "pol_999",
    "pol_888"
  ]
}
'
{ "data": { "id": "prop_pol_remove_123", "resourceType": "policies", "action": "remove", "signatureStatus": "approvalReady", "executionStatus": "completed", "threshold": 2, "approvals": [], "rejections": [], "createdAt": "2026-01-18T00:00:00.000Z", "expiresAt": "2026-01-25T00:00:00.000Z", "data": { "policies": [ { "id": "pol_999", "name": "Legacy Transfers", "type": "AUTO_APPROVAL", "transactionType": "ANY", "networkId": 1, "createdAt": "2026-01-01T00:00:00.000Z", "updatedAt": "2026-01-02T00:00:00.000Z" }, { "id": "pol_888", "name": "Old Allowlist Policy", "type": "AUTO_APPROVAL", "transactionType": "ANY", "networkId": 1, "createdAt": "2026-01-01T00:00:00.000Z", "updatedAt": "2026-01-02T00:00:00.000Z" } ] }, "result": { "resolution": "approved", "resources": [ { "type": "policy", "id": "pol_999" }, { "type": "policy", "id": "pol_888" } ] } } }

Documentation Index

Fetch the complete documentation index at: https://docs.mls.onchainden.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Headers

X-Idempotency-Key
string<uuid>
required

Idempotency key for safely retrying mutation requests.

Body

application/json
policyIds
string[]
required

List of policy IDs to remove

Response

Policy removal proposal created

data
object
required
Example:
{
  "id": "prop_pol_remove_123",
  "resourceType": "policies",
  "action": "remove",
  "signatureStatus": "approvalReady",
  "executionStatus": "completed",
  "threshold": 2,
  "approvals": [],
  "rejections": [],
  "createdAt": "2026-01-18T00:00:00.000Z",
  "expiresAt": "2026-01-25T00:00:00.000Z",
  "data": {
    "policies": [
      {
        "id": "pol_999",
        "name": "Legacy Transfers",
        "type": "AUTO_APPROVAL",
        "transactionType": "ANY",
        "networkId": 1,
        "createdAt": "2026-01-01T00:00:00.000Z",
        "updatedAt": "2026-01-02T00:00:00.000Z"
      },
      {
        "id": "pol_888",
        "name": "Old Allowlist Policy",
        "type": "AUTO_APPROVAL",
        "transactionType": "ANY",
        "networkId": 1,
        "createdAt": "2026-01-01T00:00:00.000Z",
        "updatedAt": "2026-01-02T00:00:00.000Z"
      }
    ]
  },
  "result": {
    "resolution": "approved",
    "resources": [
      { "type": "policy", "id": "pol_999" },
      { "type": "policy", "id": "pol_888" }
    ]
  }
}