Remove user from an organization
DELETE/api/v1/organizations/removeuser
Remove user from organization
Request
Header Parameters
X-API-KEY stringrequired
API Key
- application/json
Body
required
Remove User from Organization Request
orgId string
orgId is the organization ID.
userId string
userId is the user ID.
Responses
- 204
- 400
- 403
- 404
- 500
No Content
- 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 remove user from 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...