elastic / elastic/elasticsearch
Make `Invalidate API Key API responses` consistent
Open
:Security/Authentication
>enhancement
Team:Security
- Dominant language
- Java
- Stars
- 77.9k
- Forks
- 26.1k
- PR merge metrics
- PR metrics pending
Description
Similar to the [work we recently did](https://github.com/elastic/elasticsearch/pull/54532) for the Invalidate Tokens API , we should aim to return consistent response bodies and status codes for calls to the Invalidate API Keys API. My initial thinking is that we should reuse the decisions made there and outlined in the [PR description](https://github.com/elastic/elasticsearch/pull/54532#issue-396571241) unless we have reasons to differentiate.
Contributor guide
Assessment
This issue has not been assessed yet.