Adds a User or a Group to an Application with a Role
Changed onRequest
- Base URLhttps://api.humanitec.io
- URLhttps://api.humanitec.io/orgs/{orgId}/apps/{appId}/users
- Authnone declared
Path parameters
The Organization ID
The Application ID
Request body
Example request
{
"id": "730c1f96-8ee5-4bff-8c22-898e0530b924",
"role": "manager"
}Response
The User or Group ID and the associated role.
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 - breaking
the request property
became required - breaking
the request property
became required - breaking
added the pattern
^[a-z0-9](?:-?[a-z0-9]+)+$to the request property - warning
for the
pathrequest parameterappId, the maxLength was set to50 - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- 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