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. Open the navigation menu and click Developer Services. Under Application Integration, click Notifications.
    2. On the Topics page, select the compartment that contains the topic that you want.
    3. Click the name of the topic that you want.
    Under Resources, the Topic Details page lists all subscriptions in the topic.
  • 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.