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

# Delete Application

> Deletes an application by its ID.

<ParamField path="id" type="string" required>
  The application ID to delete.
</ParamField>

### Response

<ResponseField name="response" type="object">
  The response containing the ID of the deleted application.

  <Expandable title="Toggle object">
    <ResponseField name="id" type="string">
      The ID of the deleted application.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "response": {
      "id": "app-abc123def456"
    }
  }
  ```
</ResponseExample>

### Error Responses

<ResponseField name="code" type="string">
  The error code indicating the reason for the failure. Possible values:

  * `UNAUTHORIZED`: The user is not authenticated or does not have sufficient permissions.
  * `APP_NOT_FOUND`: The specified application does not exist.
  * `APP_ID_REQUIRED`: The application ID was not provided.
  * `DELETE_APP_FAILED`: The application could not be deleted.
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message providing additional details about the error.
</ResponseField>

<ResponseExample>
  ```json Error Response (404) theme={null}
  {
    "code": "APP_NOT_FOUND"
  }
  ```

  ```json Error Response (403) theme={null}
  {
    "code": "UNAUTHORIZED"
  }
  ```

  ```json Error Response (400) theme={null}
  {
    "code": "DELETE_APP_FAILED"
  }
  ```
</ResponseExample>
