Skip to main content

Update a user's authentication method

PUT 

/api/v4/users/:user_id/auth

Updates a user's authentication method. This can be used to change them to/from LDAP authentication for example.

For auth_service set to email, omit auth_data; this clears external authentication and switches the user to email authentication. For other authentication services, auth_data must be present and non-empty.

Minimum server version: 4.6

Permissions

Must have the edit_other_users permission.

Request

Responses

User auth update successful