latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

User Management

Add a user to an organization

Add a user in the organization with a specified role. Must be an organization manager to perform this action.

post/api/v2/organization/{organizationId}/user

Path parameters

organizationIdstring required
Example:59cd72485007a239fb00282ed480da1f

Request body

usernamestring email required
role'admin' | 'member' required

Role of the user in the organization

Example request

{
  "username": "user@email.com",
  "role": "admin"
}

Response

OK

{"stackTrail":"paths:/api/v2/organization/{organizationId}/user:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","title":"JSON"}