Is there API to create a new Elastic user to workplace Search?

Hi.
I have a question if there is an API to create Elastic users to workplace Search.
Therefore I don't have to create a user one by one via console.

You can create Elasticsearch users through the Elasticsearch User API. If an Elasticsearch User has the requisite roles, it can access Workplace Search. See: Manage users and access to Workplace Search | Workplace Search documentation [8.13] | Elastic

@Sean_Story
Thanks for your reply.

You can create Elasticsearch users through the Elasticsearch User API . If an Elasticsearch User has the requisite roles, it can access Workplace Search.

Does this mean that if the user has the right role access to Workplace Search, the user can login to Workplace Search via this URL?
https://<ENTERPRISE_SEARCH_BASE_URL>/ws/search

Yes. All Workplace Search users are actually Elastic users under the hood. However, those Elastic users may not have access to any direct Elasticsearch APIs or Kibana UIs under the hood, if the only roles given to them allow only access to Workplace Search.

1 Like