Add a User to an Organization
POST/user-svc/organization/:organizationId/user
Allows an authorized user to add another user to a specific organization. The user will be assigned a specific role within the organization.
Request
Path Parameters
organizationId stringrequired
Organization ID
- application/json
Body
required
Add User to Organization Request
userId string
Responses
- 200
- 400
- 401
- 403
- 404
- 500
User added successfully
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Invalid JSON
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Organization/User not found
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...