Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

/user/group/list

This action returns list of user groups.

Request

Example:

curl -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer ACCESS_TOKEN' \
     https://ppw.web/svc/user/group/list

Response

FieldDescriptionType
groupsUser groupsobject

Example successful response:

{
	"groups": {
		"3651": "Admin",
		"3653": "Contractor",
		"3652": "Manager"
	}
}

Errors

Error TypeDescriptionStatus Code
access_deniedAccess token is invalid or expired401
scope_invalidClient app does not have the required OAuth scope403