The on pe I have found so far reports this:
Even when you use the admin account that has access to everything (not enrolled, just maximum permission), we find:
{"courses":[], "warnings":[{"item":"course","itemid":1,"warningcode":"2","message":"User is not enrolled or does not have requested capability"}]}