Levain LabsLevain Labs
API ReferenceAgents

Detach Agent Integration

Remove the link between an agent and an integration.

404 if no such link exists; the workspace integration itself is unaffected (use DELETE /integrations/{id} to revoke).

DELETE
/api/v1/agents/{agent_id}/integrations/{integration_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

agent_id*Agent Id
integration_id*Integration Id
Formatuuid

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X DELETE "https://api.levainlabs.com/api/v1/agents/string/integrations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}