Its not working for me, although I am able to get the current user in jwt and its uploading the image with the same user but while assigning that attachment id using rest api call after upload I am still getting “You must have a role of editor or above to set a new profile image.”.
I am still not able to assign the image uploaded using the custom rest api call using rest api call.