WP Rest API v2.0 user profile update issue

I found the answer from below.

https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/

Authentication is the primary step for all API works.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)