Remove a User from an Organization
DELETE/user-svc/organization/:organizationId/user/:userId
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
userId stringrequired
User ID
- application/json
Body
Add User to Organization Request
object
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...