Enable a user profile Added in 8.2.0
Enable user profiles to make them visible in user profile searches.
Path parameters
-
Unique identifier for the user profile.
Query parameters
-
refresh string
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.
Values are
true
,false
, orwait_for
.
POST
/_security/profile/{uid}/_enable
curl \
-X POST http://api.example.com/_security/profile/{uid}/_enable
Response examples (200)
{
"acknowledged": true
}