---
title: "Sign an account out and remove it"
method: DELETE
path: "/api/v1/agents/accounts/{accountId}"
tags: ["agents"]
---

# Sign an account out and remove it

`DELETE /api/v1/agents/accounts/{accountId}`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/agents/accounts/{accountId}`
- Auth: none declared

## Path parameters

- `accountId` string, required: Agent account identifier; device-claude and device-codex are this computer's own logins.

## Response `200`

OK

- AgentAccountsResponse
  - `accounts` AgentAccountResponse[], required
    - `createdAt` string, date-time, nullable
    - `default` boolean, required
    - `device` boolean, required
    - `email` string
    - `id` string, required
    - `limits` AgentAccountLimits
      - `activity` AgentAccountActivity
        - `currentStreakDays` integer, nullable
        - `latestDay` string, nullable
        - `latestDayTokens` integer, nullable
        - `lifetimeTokens` integer, nullable
        - `longestTurnSeconds` integer, nullable
        - `peakDailyTokens` integer, nullable
      - `extraUsage` AgentAccountExtraUsage
        - `currency` string
        - `enabled` boolean, required
        - `monthlyLimit` number, nullable
        - `usedCredits` number, nullable
      - `fetchedAt` string, date-time, required
      - `resetCredits` integer, nullable
      - `windows` AgentAccountLimitWindow[], required
        - `id` string, required
        - `label` string, required
        - `resetsAt` string, date-time, nullable
        - `usedPercent` number, double, required
    - `plan` string
    - `problem` string
    - `provider` 'claude' | 'codex', required
    - `signedIn` boolean, required

## Other responses

- `404`: Not Found
- `409`: Conflict
- `501`: Not Implemented

## Changes

- **2026-10-21** `8f160e6183cd`: 3 info
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `404`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `409`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `501`
- **2026-10-18** `7e984b9a98ab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/agents/accounts/:accountId/delete.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) - [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) - [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/61d7efd08578?raw)
