REST API: retrieve id only ids of relations

I have the same problem in v4. I don’t want to populate the whole related entry, I only want the id of it, for performance reasons. Isn’t it possible?