Enable user profile APIedit

This feature is in development and not yet available for use. This documentation is provided for informational purposes only.

Enables a user profile so it’s visible in user profile searches.

Requestedit

POST /_security/profile/<uid>/_enable

PUT /_security/profile/<uid>/_enable

Prerequisitesedit

To use this API, you must have the manage_user_profile cluster privilege.

Descriptionedit

When you activate a user profile, it’s automatically enabled and visible in user profile searches. If you later disable the user profile, you can use the enable user profile API to make the profile visible in these searches again.

Path parametersedit

<uid>
(Required, string) Unique identifier for the user profile.

Query parametersedit

refresh
(Optional, enum) If true, Elasticsearch refreshes the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false do nothing with refreshes. Valid values: true, false, wait_for. Default: false.

Examplesedit

The following request enables the user profile for a uid matching u_kd2JMqwUQwSCCOxMv7M1vw:

POST /_security/profile/u_kd2JMqwUQwSCCOxMv7M1vw/_enable