How to edit user attributes with user token

Using a springboot app, we want to change user-specific custom attributes in keycloak. But the below endpoint expects either Admin access token or user with manage-users role(assigning this role to users is not so secure because he can modify the data of others).

Is it possible to update custom attributes for user with token generated for user without manage-users role? Or is there any other much restrictive role available other than manage-users role which would do this?

I am using
curl --location --request PUT ‘http://localhost:8180/auth/global/users/{{userid}}’
–header ‘Authorization: Bearer ((token))’
–header ‘Content-Type: application/json’
–data-raw ‘{
“attributes”: {
“DOB”: “1984-07-01”