I have elastic cloud service version 6.8.10 and I currently have an api-key that I want to invalidate through dev tools, but when I made the call, it responsed as below snippet.
Request
DELETE /_security/api_key
{
"id" : "some-random-id"
}
Response
{
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "request body is required"
}
],
"type": "parse_exception",
"reason": "request body is required"
},
"status": 400
}
I followed the document describe here invalidate api key
could you please help me.