Managing Client Permissions via the API

Hi everyone, I have successfully enabled my resource server ( client ) to register resources and scopes via the Protection API

This works well. I now would like to also have the resource server ( client ) manage the Permissions, but I have run into difficulties. I have tried using the Policy API, however listing the permissions always returns an empty list ( even though there are numerous permissions ). After some searching I came across this thread in an old keycloak mailing list thread which seems to indicate that the Policy API is only for ‘UMA’ permissions, and that 'Permissions managed through the console are not really UMA’

If that is the case how do I manage Permissions via the API? It seems strange that I can happily manage resources and scopes via the API but not Permissions.

Any help would be greatly appreciated.