Delete a lifecycle
DELETE
/api/v1/projects/{projectId}/lifecycles/{lifecycleId}
const url = 'https://app.avera.io/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lifecycles/example?sandboxId=example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://app.avera.io/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lifecycles/example?sandboxId=example'Stages the deletion into the change request named by sandboxId. The project default lifecycle is refused outright, and any other lifecycle may leave only while no item type is effectively bound to it; its states’ and transitions’ permission cells are staged for deletion with it. Deleting a lifecycle that exists only as a staged clone reverts the clone.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string format: uuid
lifecycleId
required
string
Query Parameters
Section titled “Query Parameters”sandboxId
required
string
Responses
Section titled “Responses”OK