Clear the caller's pin on a (agent, integration)
Removes the caller's member pin. Ungoverned, the resolver falls back to the soft org default, then the caller's own connection; under an admin pin that allows additions the run binds the imposed set with no addition. Always allowed, whatever governs. The removal's transaction disables (disabled_reason: connection_set_unnamed) every enabled schedule it could name a set for — of its space; for a pin, on its agent; for a member pin, of that member — whose fired version uses this integration (declared, not inert) and whose set nothing names afterwards: no connection_overrides key, admin pin, pin of its actor or org default, however many connections its actor holds. Their jobs are removed once it commits.
/api/me/integration-pins/{agentPackageId}/integrations/{integrationPackageId}Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Path Parameters
Agent package id (e.g. @acme/my-agent).
^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$Integration package id (e.g. @official/gmail).
^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$Header Parameters
Organization ID. Required for cookie auth. Not needed for API key auth (org resolved from key).
uuidSpace ID. Required for space-scoped routes (agents, runs, schedules, and space-scoped module routes). Not needed for API key auth (space resolved from key).
curl -X DELETE "https://your-instance/api/me/integration-pins/string/integrations/string"{
"schedules_disabled_count": 0
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Insufficient permissions",
"code": "forbidden",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Resource not found",
"code": "not_found",
"request_id": "req_abc123"
}