### Delete a plan

`DELETE /api/v1/profiles/{id}`

Refused while the plan is still referenced — by a subscriber, a card series or another plan's fall-back chain.

- Authentication: manager session (JWT) or API token
- Permission: `prm_profiles_delete` (Delete profiles)
- Risk: danger
- Rate limit bucket: `t_mutate`

#### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Plan id. |

#### Errors

| Code | Status | When |
| --- | --- | --- |
| `ERR_CONFLICT` | 409 | the plan is still in use |

