But now I want to make that same call but in PHP, (NOT WITH POSTMAN), but I can’t find the correct syntax.
Same for unsassign, there is no parameters to enter the array of layouts to unassign:
Which branch of the oauth2 do you have please? It looks to me like master ie release 1.1 with 1.8 CMS?
We made severe changes to the oauth2 php api library for 2.0 - which technically is a beta release from develop branch and that’s what version 2 cms uses as well.
Due to the fact that the oauth league client and php requirement also had to be updated, as well as number of changes needed in the core CMS (mostly of phpunit tests) those changes were not included in the php library release for 1.8 CMS series.