Deleting a Stream or Stream Pool

Delete a stream or stream pool from the Streaming service.

To review requirements for creating and managing streams, see Getting Started with Streaming.

  • Delete a stream

    1. Access the Streaming service in the Console.
    2. On the Streams page, click the name of the stream that you want to delete.
    3. On the stream pool details page, click Delete.

    Delete a stream pool

    1. Access the Streaming service in the Console.
    2. Under Analytics, click Stream Pools to display a list of existing stream pools.
    3. Click the name of the stream pool that you want to delete.
    4. On the stream pool details page, click Delete, and then click Confirm.
  • For information about using the CLI, see Command Line Interface (CLI). For a complete list of flags and options available for CLI commands, see the Command Line Reference.

    Note

    The examples in this section use the full syntax for all parameters, for example --compartment-id. For some parameters, there are shortened versions that you can use instead, like -c. See the CLI online help for instances of a shortened parameter associated with a command.

    To delete a stream

    Caution

    Stream contents are deleted immediately. You cannot recover a deleted stream.

    oci streaming admin stream delete --stream-id <stream_OCID>

    For example:

    oci streaming admin stream --delete --stream-id ocid1.stream.oc1.phx.exampleuniqueID
    Are you sure you want to delete this resource? [y/N]:

    Select y and press Enter. The stream is deleted with no further prompting.

    To delete a stream pool

    Caution

    The stream pool and all streams within the pool are deleted immediately. You cannot recover a deleted stream pool.

    oci streaming admin stream-pool delete --stream-pool-id <stream_pool_OCID>

    For example:

    oci streaming admin stream-pool delete --stream-pool-id ocid1.streampool.oc1.phx.exampleuniqueID
    Are you sure you want to delete this resource? [y/N]:

    Select y and press Enter. The stream pool is deleted with no further prompting.

  • Use the following API operations to delete streams and stream pools:

    For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.