Hi @Mikhail Delly , thanks for the question. I did some research and unfortunately you're correct that there's no direct way to do this with the Graph API. You'll have to use the custom policies for this. I'll reach out and see if there are any easier ways to do this, but currently there is no way to do this with the Graph API. Please let me know if you have any questions.
If this answer helped you please mark it as "Verified" so other users can reference this.
Thank you,
James