SmartMemory
DELETE
/memory/adapters/{adapter_id}

Disconnect (owner or admin): the fence update, 202 {status: disconnecting}.

The record stays until the worker's recovery pass (L2) has drained a live run and finished revocation. GET shows Stopping until then. A repeat disconnect of a disconnecting record answers the same 202 and writes nothing. A v1 row (no connection_id, never synced) is deleted at once.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Path Parameters

adapter_id*Adapter Id

Response Body

application/json

application/json

curl -X DELETE "https://example.com/memory/adapters/string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}