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

# removePlanDraft

> Remove a plan draft



**mutation** `removePlanDraft(input: DiscardPackageDraftInput!): String!`

## Arguments

**`input`**: `DiscardPackageDraftInput!` (required)

Discard Package Draft Input

## Returns

`String!`

## Examples

```graphql Mutation
mutation RemovePlanDraft($input: DiscardPackageDraftInput!) {
  removePlanDraft(input: $input)
}
```

```json Variables
{
  "input": {
    "environmentId": "string",
    "refId": "string"
  }
}
```

```json Response
{
  "data": {
    "removePlanDraft": "string"
  }
}
```


## Related topics

- [Remove plan draft](https://docs.stigg.io/api-reference/plans/remove-plan-draft.md)
- [Remove addon draft](https://docs.stigg.io/api-reference/addons/remove-addon-draft.md)
- [Create plan draft](https://docs.stigg.io/api-reference/plans/create-plan-draft.md)
- [removeBasePlanFromPlan](https://docs.stigg.io/graphql-reference/mutations/removeBasePlanFromPlan.md)
- [Remove data-export destination](https://docs.stigg.io/api-reference/data-export/remove-data-export-destination.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.