# Delete a lifecycle phase

Source: https://www.jawsdeploy.net/rest-api/lifecycle-phase-delete | Section: Lifecycles

Remove a phase from a lifecycle.

`DELETE /api/lifecycle/phase`

Removes a phase from a lifecycle. The lifecycle stays valid and the remaining phases keep their order.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `lifecycleId` | query | string | yes | ID of the lifecycle. |
| `phaseId` | query | string | yes | ID of the phase to remove. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `lifecycleId` or `phaseId`. |
| 401 | Missing or invalid Basic auth credentials, or the service account lacks the required role. |

Example request:

```
DELETE /api/lifecycle/phase?lifecycleId=lc_1&phaseId=ph_2
```

Example response:

```
{}
```

