public
UserRole
List Users or Groups with roles in an App
Changed onget/orgs/{orgId}/apps/{appId}/users
Request
- Base URLhttps://api.humanitec.io
- URLhttps://api.humanitec.io/orgs/{orgId}/apps/{appId}/users
- Authnone declared
Path parameters
orgIdstring required
The Organization ID
appIdstring required
The Application ID
Query parameters
type'user' | 'group'
Subjects that can assume roles on objects.
Type of Subject. Either User or Group
Response
A list of Users or Groups and the roles they hold.
Example response
[
{
"created_at": "2020-12-19T09:32:46Z",
"email": "jo.trigg@awesomecorp.com",
"id": "730c1f96-8ee5-4bff-8c22-898e0530b924",
"invite": "accepted",
"name": "Jo Trigg",
"role": "manager",
"type": "user"
}
]Changes
- breaking
added the pattern
^[a-z0-9](?:-?[a-z0-9]+)+$to thepathrequest parameterappId - warning
for the
pathrequest parameterappId, the maxLength was set to50 - warning
removed the optional property
/from the response with the status - info
added the new optional
queryrequest parametertype - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the optional property
/to the response with the status
- breaking