According to the documentation, the Graph API does not yet provide an endpoint for disabling OWA. You can disable OWA using other methods, such as EAC or Exchange Management Shell. See the documentation below for details on how to disable OWA:
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.