You can delete Pub/Sub subscriptions with the Google Cloud console, Google Cloud CLI, client library, or Pub/Sub API.
This document discusses how to delete subscriptions in Pub/Sub.
- To manage your Google Cloud account, see Manage your Cloud Billing account.
- To manage your Google Account, see Payments & subscriptions.
Before you begin
- Learn about subscriptions.
- Create one of the following subscriptions, pull, push, or BigQuery.
Required roles and permissions
To get the permission that
you need to delete a subscription,
ask your administrator to grant you the
Pub/Sub Editor (roles/pubsub.editor) IAM role on the subscription.
For more information about granting roles, see Manage access to projects, folders, and organizations.
This predefined role contains the
pubsub.subscriptions.delete
permission,
which is required to
delete a subscription.
You might also be able to get this permission with custom roles or other predefined roles.
Delete subscriptions
Console
- In the Google Cloud console, go to the Subscriptions page.