> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catchthegoodones.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sleep a tracked account

> Pause an account: decrements Stripe quantity but preserves history + stream pairs

Puts a tracked account to sleep. Decrements the Stripe subscription quantity for the account's tier. Sleeping accounts stop syncing but their history and stream pairs are preserved.

To resume, see [POST /api/v2/accounts/{id}/wake](/api-reference/wake-tracked-account).

## Example

```bash theme={null}
curl -X POST https://www.catchthegoodones.com/api/v2/accounts/7/sleep \
  -H "Authorization: Bearer ctgo_your_api_key_here"
```

## Response

```json theme={null}
{ "success": true, "accountId": 7, "asleep": true }
```

## Errors

| Code                | HTTP | When                                          |
| ------------------- | ---- | --------------------------------------------- |
| `Account not found` | 404  | Account not owned by user, or already deleted |

## Auth

Bearer or session cookie.
