API reference

Revoke an identity link

DELETE/v1/identity-links/{id}

Withdraw the link from future principal resolution.

Requires attribution:write. The enrolling workspace can revoke an agent binding and all its grants. Either workspace can revoke a shared grant individually. A missing or inaccessible record returns the same 404.

  • HTTP 204 has no response body.
Request
import { Chitmark } from "@chitmark/sdk";

const chitmark = new Chitmark({ apiKey: process.env.CHITMARK_API_KEY! });

await chitmark.attribution.revokeLink(process.env.CHITMARK_IDENTITY_LINK_ID!);