Add an existing user to an organization
POST/platform/solutions/api/v1/orgs/{orgId}/users
Associates an existing user with an existing organization, assigning the specified roles or permissions.
Usage
POST /orgs/{orgId}/users
Parameters
orgId(Guid, required): the ID of the organization.- Request body:
input(CreateUpdateOrgUserDtoNoOrg, required): the user information, including:UserId(string, required): the ID of the user to be added to the organization.Role(string, required, max length 50): the role assigned to the user within the organization. (admin,operator,viewer)
Responses
201 Created: user successfully added to organization.400 Bad Request: invalid input.
Security
This API requires authentication.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
- 501
Created
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Not Implemented