public
UserRole
Invites a user to an Organization with a specified role.
Changed onpost/orgs/{orgId}/invitations
Request
- Base URLhttps://api.humanitec.io
- URLhttps://api.humanitec.io/orgs/{orgId}/invitations
- Authnone declared
Path parameters
orgIdstring required
The Organization ID
Request body
Example request
{
"email": "jo.trigg@awesomecorp.com",
"role": "manager"
}Response
An temporary profile for the invited user.
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
- warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status
- warning