Security

The security APIs enable you to perform security activities, and add, update, retrieve, and remove application privileges, role mappings, and roles. You can also create and update API keys and create and invalidate bearer tokens.

Operations quick access
POST /_security/profile/_activate GET /_security/_authenticate POST /_security/role DELETE /_security/role POST /_security/api_key/_bulk_update POST /_security/user/{username}/_password POST /_security/api_key/{ids}/_clear_cache POST /_security/privilege/{application}/_clear_cache POST /_security/realm/{realms}/_clear_cache POST /_security/role/{name}/_clear_cache POST /_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache GET /_security/api_key POST /_security/api_key DELETE /_security/api_key POST /_security/cross_cluster/api_key POST /_security/service/{namespace}/{service}/credential/token/{name} DELETE /_security/service/{namespace}/{service}/credential/token/{name} POST /_security/delegate_pki GET /_security/privilege/{application}/{name} DELETE /_security/privilege/{application}/{name} GET /_security/role/{name} POST /_security/role/{name} DELETE /_security/role/{name} GET /_security/role_mapping/{name} POST /_security/role_mapping/{name} DELETE /_security/role_mapping/{name} GET /_security/user/{username} POST /_security/user/{username} DELETE /_security/user/{username} POST /_security/user/{username}/_disable POST /_security/profile/{uid}/_disable POST /_security/user/{username}/_enable POST /_security/profile/{uid}/_enable GET /_security/enroll/kibana GET /_security/enroll/node GET /_security/privilege/_builtin GET /_security/service/{namespace}/{service} GET /_security/service/{namespace}/{service}/credential GET /_security/settings PUT /_security/settings GET /_security/stats POST /_security/oauth2/token DELETE /_security/oauth2/token GET /_security/user/_privileges GET /_security/profile/{uid} POST /_security/api_key/grant POST /_security/user/{user}/_has_privileges POST /_security/profile/_has_privileges POST /_security/oidc/authenticate POST /_security/oidc/logout POST /_security/oidc/prepare POST /_security/privilege POST /_security/_query/api_key POST /_security/_query/role POST /_security/_query/user POST /_security/saml/authenticate POST /_security/saml/complete_logout POST /_security/saml/invalidate POST /_security/saml/logout POST /_security/saml/prepare GET /_security/saml/metadata/{realm_name} POST /_security/profile/_suggest PUT /_security/api_key/{id} PUT /_security/cross_cluster/api_key/{id} POST /_security/profile/{uid}/_data GET /_ssl/certificates