What do you want to do?
Tell us about your request. Provide a summary of the request and all versions that are affected.
The provided example on the create index documentation should have 1 click copy-as-curl option for using the example command directly. Without the option, it needs some work to use the example locally. https://opensearch.org/docs/latest/api-reference/index-apis/create-index/
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
The delete index documentation for example has that option - https://opensearch.org/docs/latest/api-reference/index-apis/delete-index/