Deletes a stream.
DELETE {{baseUrl}}/streams/:streamId
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.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. | |
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |