Confluence global permissions via API?

Is there a confluence cloud API that provides the global permissions of the confluence instance? I want to determine via the API whether the permission to grant anonymous access has been enabled


Run into the same problem. How can I know what user is super-confluence admin or global anonymous …