Listing Subscriptions for a Topic

List subscriptions for a Notifications topic.

  • These steps show how to list subscriptions in a topic. You can also list subscriptions in a compartment.
    1. On the Topics list page, select the topic that contains the subscriptions that you want to work with. If you need help finding the list page or the topic, see Listing Topics.
    2. Select Subscriptions.
    The page lists subscriptions in the selected topic. The value in the Protocol column indicates the subscription type. For example, PagerDuty in that column indicates a PagerDuty subscription.
  • Use the oci ons subscription list command and required parameters to list subscriptions in the specified topic. Set the --topic-id parameter to the OCID of the topic that you want.

    oci ons subscription list --topic-id <topic_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Notifications.

  • Run the ListSubscriptions operation to list subscriptions in a specified topic.