Delete a stream Technical Preview

DELETE /api/streams/{name}

Spaces method and path for this operation:

delete /s/{space_id}/api/streams/{name}

Refer to Spaces for more information.

Deletes a stream definition and the underlying data stream

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • name string Required
application/json

Body

object object

Additional properties are NOT allowed.

DELETE /api/streams/{name}
curl \ --request DELETE 'https://localhost:5601/api/streams/{name}' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: true"