Complete the code to delete an index named 'my_index'.
DELETE /[1]To delete an index in Elasticsearch, you specify the index name after the DELETE method.
Complete the code to close an index named 'logs_2023'.
POST /[1]/_closeTo close an index, you send a POST request to the index name followed by /_close.
Fix the error in the code to delete the index 'archive'.
DELETE /[1]/The index name should not have trailing slashes. Use just the index name after DELETE.
Fill both blanks to close the index 'user_data' using the correct HTTP method and URL.
[1] /[2]/_close
Closing an index requires a POST request to the index name followed by /_close.
Fill both blanks to delete the index 'temp_logs' using the correct HTTP method and index name.
[1] /[2]
Deleting an index uses the DELETE method followed by the index name in the URL.