Hi @MrOutside
Sorry,I am not familiar to the python.
Here is a sample code about deploying a custom security extension to SQL Reporting Services 2017,you may take a reference.
https://github.com/microsoft/Reporting-Services/tree/master/CustomSecuritySample
and here is the article I take reference:
https://stackoverflow.com/questions/56993367/how-to-call-ssrs-rest-api-v2-0-with-custom-security-implemented-not-soap-using
Hope this will help you.
Best Regards,
Isabella
If the answer is the right solution, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.