> ## 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.

# removeAddonDraft

> Remove a draft addon



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

## Arguments

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

Discard Package Draft Input

## Returns

`String!`

## Examples

```graphql Mutation
mutation RemoveAddonDraft($input: DiscardPackageDraftInput!) {
  removeAddonDraft(input: $input)
}
```

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

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


## Related topics

- [Go](https://docs.stigg.io/api-and-sdks/changelog/backend-rest/go.md)
- [Remove addon draft](https://docs.stigg.io/api-reference/addons/remove-addon-draft.md)
- [Remove plan draft](https://docs.stigg.io/api-reference/plans/remove-plan-draft.md)
- [Create addon draft](https://docs.stigg.io/api-reference/addons/create-addon-draft.md)
- [TypeScript](https://docs.stigg.io/api-and-sdks/changelog/backend-rest/typescript.md)


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