---
title: "DELETE /v1/projects/{projectsId}/subscriptions/{subscriptionsId}"
method: DELETE
path: "/v1/projects/{projectsId}/subscriptions/{subscriptionsId}"
tags: ["projects"]
---

# DELETE /v1/projects/{projectsId}/subscriptions/{subscriptionsId}

`DELETE /v1/projects/{projectsId}/subscriptions/{subscriptionsId}`

## Request

- Base URL: `https://pubsub.googleapis.com`
- URL: `https://pubsub.googleapis.com/v1/projects/{projectsId}/subscriptions/{subscriptionsId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/pubsub`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/pubsub`

Deletes an existing subscription. All messages retained in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription or its topic unless the same topic is specified.

## Path parameters

- `projectsId` string, required
- `subscriptionsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

## Changes

- **2026-11-11** `5eea47510ec8`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/pubsub` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/pubsub` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/pubsub/changes/v1/projects/:projectsId/subscriptions/:subscriptionsId/delete.md)

---

[API](https://skmtc.dev/google/apis/pubsub.md) - [All operations](https://skmtc.dev/google/apis/pubsub/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/pubsub/revisions/5eea47510ec8?raw)
