[DEV-TOOLS][6.8.10] DELETE /_security/api_key Error 400 request body is required

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.

I am not sure, but something could be up with your Cloud instance. I suggest reaching out for help via https://cloud.elastic.co/help

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.