---
title: "Delete"
method: DELETE
path: "/applications/{application_id}/deployments/{id}.json"
tags: ["Applications"]
---

# Delete

`DELETE /applications/{application_id}/deployments/{id}.json`

## Request

- Base URL: `https://api.newrelic.com/v2`
- URL: `https://api.newrelic.com/v2/applications/{application_id}/deployments/{id}.json`
- Auth: API key in header `Api-Key`
- TypeScript: <https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/docs/applications/:application_id/deployments/:id.json/delete.ts> (a function with typed inputs; its response is checked against the schema)

This API endpoint deletes the specified deployment record.

Note: [Admin User’s API Key](https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/rest-api-key) is required.

## Path parameters

- `application_id` integer, required
- `id` integer, required

## Response `200`

No response was specified

- DeploymentResponse
  - `deployment` DeploymentResponseType
    - `changelog` string
    - `description` string
    - `id` integer
    - `links` DeploymentLinksResponse
      - `application` integer
    - `revision` string
    - `timestamp` string, date-time
    - `user` string

---

[API](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2.md) - [All operations](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/revisions/cf1843ad0a45?raw)
