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

# Deactivate sub-account

> Pause every task of a sub-account and hide it from its team. No data is deleted. Requires confirm: true.

Deactivating pauses every agent of the sub-account and then hides the account from its team. No data is deleted.

If any task cannot be paused, the sub-account is **not** deactivated: the call returns 502 `pause_incomplete` with `paused_workflow_ids` and `failed_workflow_ids`. Call it again.

There is no delete. To restore access later, use [Reactivate sub-account](/docs/en/api/sub-accounts/reactivate-sub-account).

For the feature gate, scopes, and `confirm`, see [Before you start](/docs/en/api/sub-accounts/list-sub-accounts#before-you-start).


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.getnexor.ai/llms.txt).
