# Archive a strategy

URL: https://docs.fxapis.com/api-reference/copy-trading/archive-a-strategy

> Archive a strategy. Only once no subscription copies it (pause or delete them first).

`DELETE https://api.fxapis.com/v1/copy/strategies/{id}`

Only once no subscription copies it (pause or delete them first). Its executions and links stay in the log, and its paused or stopped subscriptions stay, unable to resume; the account can become a strategy again.

Authentication: `Authorization: Bearer <API key>`.

#### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

#### Responses

- `200`
- `401`
- `403`
- `404`
- `409`

Failures return `{ "error": { "code", "message" } }`; every code is listed at https://docs.fxapis.com/errors.

#### 200 response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | no |  |
| `data.id` | string (uuid) | no |  |
| `data.accountId` | string (uuid) | no | The master account. |
| `data.name` | string | no |  |
| `data.status` | "active" \| "paused" \| "archived" | no | `paused`: the master is not watched and nothing is copied until it is resumed. `archived`: gone; the account can be a strategy again. |
| `data.masterAlwaysOn` | boolean | no | False when the master was switched away from always_on since: it may be stopped when idle, and nothing is copied while it is offline. |
| `data.followers` | integer | no | Subscriptions that copy it now (active or close_only). |
| `data.createdAt` | string (date-time) | no |  |
| `data.updatedAt` | string (date-time) | no |  |