# Anomaly Detection Security API

**Canonical:** https://apis.io/apis/anomaly-detection/anomaly-detection-security-api/  
**Provider:** Anomaly Detection — https://apis.io/providers/anomaly-detection/  
**Base URL:** https://api.cognitive.microsoft.com  
**Documentation:** https://learn.microsoft.com/en-us/azure/ai-services/anomaly-detector/overview

Anomaly Detection Security API is one of 49 APIs that [Anomaly Detection](https://apis.io/providers/anomaly-detection/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Security. The published artifact set on APIs.io includes an OpenAPI specification.

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 (60 of 70)

| Method | Path | Summary |
|---|---|---|
| POST | `/_encryption/_reset` | Reset the project encryption key |
| POST | `/_security/profile/_activate` | Activate a user profile |
| GET | `/_security/_authenticate` | Authenticate a user |
| POST | `/_security/role` | Bulk create or update roles |
| DELETE | `/_security/role` | Bulk delete roles |
| POST | `/_security/api_key/_bulk_update` | Bulk update API keys |
| POST | `/_security/user/{username}/_password` | Change passwords |
| POST | `/_security/api_key/{ids}/_clear_cache` | Clear the API key cache |
| POST | `/_security/privilege/{application}/_clear_cache` | Clear the privileges cache |
| POST | `/_security/realm/{realms}/_clear_cache` | Clear the user cache |
| POST | `/_security/role/{name}/_clear_cache` | Clear the roles cache |
| POST | `/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache` | Clear service account token caches |
| PUT | `/_security/api_key/clone` | Clone an API key |
| GET | `/_security/api_key` | Get API key information |
| POST | `/_security/api_key` | Create an API key |
| DELETE | `/_security/api_key` | Invalidate API keys |
| POST | `/_security/cross_cluster/api_key` | Create a cross-cluster API key |
| POST | `/_security/service/{namespace}/{service}/credential/token/{name}` | Create a service account token |
| DELETE | `/_security/service/{namespace}/{service}/credential/token/{name}` | Delete service account tokens |
| POST | `/_security/delegate_pki` | Delegate PKI authentication |
| GET | `/_security/privilege/{application}/{name}` | Get application privileges |
| DELETE | `/_security/privilege/{application}/{name}` | Delete application privileges |
| GET | `/_security/role/{name}` | Get roles |
| POST | `/_security/role/{name}` | Create or update roles |
| DELETE | `/_security/role/{name}` | Delete roles |
| GET | `/_security/role_mapping/{name}` | Get role mappings |
| POST | `/_security/role_mapping/{name}` | Create or update role mappings |
| DELETE | `/_security/role_mapping/{name}` | Delete role mappings |
| GET | `/_security/user/{username}` | Get users |
| POST | `/_security/user/{username}` | Create or update users |
| DELETE | `/_security/user/{username}` | Delete users |
| GET | `/_security/service/{namespace}/{service}` | Get service accounts |
| PUT | `/_security/service/{namespace}/{service}` | Create user-managed service accounts |
| DELETE | `/_security/service/{namespace}/{service}` | Delete user-managed service accounts |
| POST | `/_security/user/{username}/_disable` | Disable users |
| POST | `/_security/profile/{uid}/_disable` | Disable a user profile |
| POST | `/_security/user/{username}/_enable` | Enable users |
| POST | `/_security/profile/{uid}/_enable` | Enable a user profile |
| GET | `/_security/enroll/kibana` | Enroll Kibana |
| GET | `/_security/enroll/node` | Enroll a node |
| GET | `/_security/privilege/_builtin` | Get builtin privileges |
| GET | `/_security/service/{namespace}/{service}/credential` | Get service account credentials |
| GET | `/_security/settings` | Get security index settings |
| PUT | `/_security/settings` | Update security index settings |
| GET | `/_security/stats` | Get security stats |
| POST | `/_security/oauth2/token` | Get a token |
| DELETE | `/_security/oauth2/token` | Invalidate a token |
| GET | `/_security/user/_privileges` | Get user privileges |
| GET | `/_security/profile/{uid}` | Get a user profile |
| POST | `/_security/api_key/grant` | Grant an API key |
| POST | `/_security/user/{user}/_has_privileges` | Check user privileges |
| POST | `/_security/profile/_has_privileges` | Check user profile privileges |
| POST | `/_security/oidc/authenticate` | Authenticate OpenID Connect |
| POST | `/_security/oidc/logout` | Logout of OpenID Connect |
| POST | `/_security/oidc/prepare` | Prepare OpenID connect authentication |
| POST | `/_security/privilege` | Create or update application privileges |
| POST | `/_security/_query/api_key` | Find API keys with a query |
| POST | `/_security/_query/role` | Find roles with a query |
| POST | `/_security/_query/user` | Find users with a query |
| POST | `/_security/saml/authenticate` | Authenticate SAML |

…and 10 more operations. They are listed in full on the page.

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/anomaly-detection/openapi/anomaly-detection-security-api-openapi.yml

## Other Anomaly Detection APIs (12)

- [Azure AI Anomaly Detector](https://apis.io/apis/anomaly-detection/azure-ai-anomaly-detector/)
- [Elasticsearch Anomaly Detection API](https://apis.io/apis/anomaly-detection/elasticsearch-anomaly-detection-api/)
- [Datadog Anomaly Monitor API](https://apis.io/apis/anomaly-detection/datadog-anomaly-monitor-api/)
- [AWS Lookout for Metrics](https://apis.io/apis/anomaly-detection/aws-lookout-for-metrics/)
- [PyOD (Python Outlier Detection)](https://apis.io/apis/anomaly-detection/pyod-python-outlier-detection/)
- [Anomaly Detection Analytics API](https://apis.io/apis/anomaly-detection/anomaly-detection-analytics-api/)
- [Anomaly Detection Cat API](https://apis.io/apis/anomaly-detection/anomaly-detection-cat-api/)
- [Anomaly Detection Ccr API](https://apis.io/apis/anomaly-detection/anomaly-detection-ccr-api/)
- [Anomaly Detection Cluster API](https://apis.io/apis/anomaly-detection/anomaly-detection-cluster-api/)
- [Anomaly Detection Connector API](https://apis.io/apis/anomaly-detection/anomaly-detection-connector-api/)
- [Anomaly Detection data stream API](https://apis.io/apis/anomaly-detection/anomaly-detection-data-stream-api/)
- [Anomaly Detection Document API](https://apis.io/apis/anomaly-detection/anomaly-detection-document-api/)

## Tags

Security

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/anomaly-detection/anomaly-detection-security-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/anomaly-detection/.
