Modify custom user attribute with access token


Is there an API endpoint where an app can modify a custom user attribute and the endpoint uses the access token issued for the user during the OpenID Connect login flow for authentication?

I’m developing a single page web app, so using the endpoints with SSWS api keys are not an option.