latestOpenAPI 3.0.02026-08-10221235717.8 KB
e21ad140ec3c
public
UserRole
Adds a User or a Group to an Application with a Role
post/orgs/{orgId}/apps/{appId}/users
Path parameters
orgIdstring required
The Organization ID
appIdstring required
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"
}