public
UserRole
Get the role of a User or a Group on an Organization
Changed onget/orgs/{orgId}/users/{userId}
Request
- Base URLhttps://api.humanitec.io
- URLhttps://api.humanitec.io/orgs/{orgId}/users/{userId}
- Authnone declared
Path parameters
orgIdstring required
The Organization ID
userIdstring required
The User or Group Id.
Response
The information about the User or the Group.
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 parameteruserId - warning
removed the optional property
from the response with the status - 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