Delete list data streams

DELETE /api/lists/index

Spaces method and path for this operation:

delete /s/{space_id}/api/lists/index

Refer to Spaces for more information.

Delete the .lists and .items data streams.

Responses

  • 200 application/json

    Successful response

    Hide response attribute Show response attribute object
    • acknowledged boolean Required
  • 400 application/json

    Invalid input data response

    One of:
  • 401 application/json

    Unsuccessful authentication response

    Hide response attributes Show response attributes object
    • error string Required
    • message string Required
    • statusCode integer Required
  • 403 application/json

    Not enough privileges response

    Hide response attributes Show response attributes object
    • error string Required
    • message string Required
    • statusCode integer Required
  • 404 application/json

    List data stream not found response

    Hide response attributes Show response attributes object
    • message string Required
    • status_code integer Required
  • 500 application/json

    Internal server error response

    Hide response attributes Show response attributes object
    • message string Required
    • status_code integer Required
DELETE /api/lists/index
curl \
 --request DELETE 'https://localhost:5601/api/lists/index' \
 --header "Authorization: $API_KEY"