delete
******


Description
===========

Deletes a stream and its content. Stream contents are deleted
immediately. The service retains records of the stream itself for 90
days after deletion. The *lifeCycleState* parameter of the *Stream*
object changes to *DELETING* and the stream becomes inaccessible for
read or write operations. To verify that a stream has been deleted,
make a GetStream request. If the call returns the stream's lifecycle
state as *DELETED*, then the stream has been deleted. If the call
returns a "404 Not Found" error, that means all records of the stream
have been deleted.


Usage
=====

   oci streaming admin stream delete [OPTIONS]


Options
=======


--stream-id [text]
------------------

The OCID of the stream to delete. [required]


--force
-------

Perform deletion without prompting for confirmation.


--wait-for-state [CREATING|ACTIVE|DELETING|DELETED|FAILED]
----------------------------------------------------------

This operation creates, modifies or deletes a resource that has a
defined lifecycle state. Specify this option to perform the action and
then wait until the resource reaches a given lifecycle state. If
timeout is reached, a return code of 2 is returned. For any other
error, a return code of 1 is returned.


--max-wait-seconds [integer]
----------------------------

The maximum time to wait for the resource to reach the lifecycle state
defined by --wait-for-state. Defaults to 1200 seconds.


--wait-interval-seconds [integer]
---------------------------------

Check every --wait-interval-seconds to see whether the resource to see
if it has reached the lifecycle state defined by --wait-for-state.
Defaults to 30 seconds.


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

For detailed help on any of these individual commands, enter <command>
--help.
