PermuteDocs
Go to Permute

Facts · factsDelete

Delete a fact

Soft-deletes a fact. Requires an organization-scoped request and fact write permission.

DELETE/v1/facts/{factId}
betaapiKeyorganization

When to use

Remove an obsolete organization rule.

For agents

Requires an organization-scoped request and fact write permission.

Example

typescript
import { PermuteClient } from '@permute/sdk';

const orgClient = new PermuteClient({
  apiKey: process.env.PERMUTE_API_KEY!,
});

const result = await orgClient.facts.delete('fact_revenue123');

Response

json
{
  "data": {
    "success": true,
    "message": "Fact deleted"
  }
}