This API is used to delete a specified stream.
For details, see Calling APIs.
DELETE /v2/{project_id}/streams/{stream_name}
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Project ID |
stream_name |
Yes |
String |
Name of the stream to be deleted Maximum: 60 |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
None
Deleting a Stream
DELETE https://{Endpoint}/v2/{project_id}/streams/{stream_name}
None
Status Code |
Description |
|---|---|
204 |
Normal response |
See Error Codes.