Add a user to organization
POST/api/v1/organizations/adduser
Add user to organization
Request
Header Parameters
X-API-KEY stringrequired
API Key
- application/json
Body
required
Add User to Organization Request
orgId string
orgId is the organization ID.
userId string
userId is the user ID.
Responses
- 201
- 400
- 403
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
data
id string
message string
status string
{
"data": {},
"id": "string",
"message": "string",
"status": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
User is not authorized to add user to organization
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Loading...