User attribute not returned in rest api call if not ticked in user or registration forms

Hi everyone,

I want to add an attribute to user scheme in plone 5.1 and retrieve it via rest api call without showing it in user profile or registration forms. If I do not tick one of these options then the attribute is not returned in the GET call. However, it is still available to update.

Is there a way to return it in rest api call?

thanks a lot