Assign group permission to a category via API

See Reverse engineer the Discourse API