Can I create multiple users or roles at once using API operations?
No. Alibaba Cloud Elasticsearch does not support batch creation of users or roles through API operations. For supported API operations, see List of operations by function.
Alibaba Cloud Elasticsearch provides two sets of APIs with different scopes:
| API type | Scope | Examples |
|---|---|---|
| Alibaba Cloud Elasticsearch API operations | Manage cluster lifecycle through the Elasticsearch console | Create clusters, modify IP address whitelists, restart clusters |
| Open source Elasticsearch REST APIs | Perform data operations directly on the cluster | Create indexes, templates, and roles |
For open source Elasticsearch REST APIs, see REST APIs.