To grant recording access to specific users in a Microsoft Teams meeting created via the Graph API, you need to set the appropriate meeting policies and roles. Unfortunately, the Microsoft Graph API does not directly support setting recording permissions for individual users within a meeting. However, you can achieve this by configuring the meeting policies in the Teams admin center.
Since this feature/functionality is presently not available using Graph API, you can submit feature request which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.