/v2/databases/{database_cluster_uuid}/users/{username}/reset_authReset a database user's password or authentication method
Resets the password or authentication method for a user in a database cluster. For MySQL users, supply mysql_settings.auth_plugin to choose the authentication method. The response includes the updated user object and its standard database user attributes.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Authentication settings for the database user. If mysql_settings is provided, auth_plugin is required.
A 401 is returned when credentials are invalid. A 404 is returned when the database cluster or user cannot be found. A 429 indicates that the API rate limit has been exceeded, and a 500 indicates a server error. The database_cluster_uuid path parameter must be a valid UUID, and the username path parameter must identify the database user; if you provide mysql_settings, its auth_plugin must be mysql_native_password or caching_sha2_password.