group_list_authz
POST
Return the list of groups that the user is authorized to edit.
apiTokenHeaderheader
Authorization<token>CKAN API token
application/json- body
available_only?booleanremove the existing groups in the package (default: False)
am_member?booleanif True return only the groups the logged-in user is a member of, otherwise return all groups that the user is authorized to edit (for example, sysadmin users are authorized to edit all groups) (default: False)
curl -X POST 'http://localhost:5000/api/3/action/group_list_authz' \ -H 'Content-Type: application/json' \ -d '{}'