Modify custom user attribute with access token

Hi,

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.

Thanks,
Csaba

https://developer.okta.com/docs/reference/token-hook/

Sorry I know this was a while ago, but I’m curious. The hooks will handle it on update, create, and import, but what if you wanted to do a direct API endpoint call with the access token(bearer) instead of the SSWS token? That was the more interesting part of the question for me.