List all usergroups
This API helps you to list all usergroups.
HTTP Request
/wp-json/supportcandy/v2/usergroups
Example
curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/usergroups'\
--header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='
Get single usergroup
This API helps you to list a single usergroup.
HTTP Request
/wp-json/supportcandy/v2/usergroups/<id>
Example
curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/usergroups/1' \
--header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='