Remove user from an organization
DELETE/api/v1/organizations/removeuser
Remove user from an organization
Request
Header Parameters
X-API-KEY stringrequired
APIKey
- 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"
}
invalid 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"
}
user is not a member of this organization
- 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...