[role="xpack"] [[security-api-enable-user]] === Enable users API ++++ Enable users ++++ Enables users in the native realm. [[security-api-enable-user-request]] ==== {api-request-title} `PUT /_security/user//_enable` [[security-api-enable-user-prereqs]] ==== {api-prereq-title} * To use this API, you must have at least the `manage_security` cluster privilege. [[security-api-enable-user-desc]] ==== {api-description-title} By default, when you create users, they are enabled. You can use this enable users API and the <> to change that attribute. For more information about the native realm, see <> and <>. [[security-api-enable-user-path-params]] ==== {api-path-parms-title} `username`:: (Required, string) An identifier for the user. [[security-api-enable-user-example]] ==== {api-examples-title} The following example enables the user `jacknich`: [source,console] -------------------------------------------------- PUT /_security/user/jacknich/_enable -------------------------------------------------- // TEST[setup:jacknich_user]