Path parameters
- uid
string Required A 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', it waits for a refresh to make this operation visible to search. If 'false', nothing is done with refreshes.
Values are
true
,false
, orwait_for
.
POST /_security/profile/{uid}/_enable
curl \
--request POST 'http://api.example.com/_security/profile/{uid}/_enable' \
--header "Authorization: $API_KEY"