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

# deleteApplication

> Deletes an application. Succeeds when it's already gone.



**mutation** `deleteApplication(input: DeleteApplicationInput!): DeleteApplicationPayload!`

## Arguments

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

## Returns

`DeleteApplicationPayload!`

**`empty`**: `Empty`

---

**`errors`**: `[DeleteApplicationError!]`

## Examples

```graphql Mutation
mutation DeleteApplication($input: DeleteApplicationInput!) {
  deleteApplication(input: $input) {
    empty {
      value
    }
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
  }
}
```

```json Variables
{
  "input": {
    "apiVersionId": "id",
    "applicationId": "id",
    "destinationId": "id"
  }
}
```

```json Response
{
  "data": {
    "deleteApplication": {
      "empty": {
        "value": 1
      },
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ]
    }
  }
}
```


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