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
- 200
- 400
- 401
- 403
- 501
User auth update successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Feature is disabled