Organizations API
Remove a member
Remove a member and their project assignments in this organization. Cannot remove the owner or yourself. Only org_owner can remove org_admin members.
Authorization
bearerAuth AuthorizationBearer <token>
Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
In: header
Path Parameters
memberId*string
User ID of the organization member
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://demo.supercheck.dev/api/organizations/members/string"{
"success": true,
"message": "string",
"data": {
"memberId": "string",
"removedRole": "string"
}
}Empty
{
"error": "Unauthorized"
}{
"error": "string"
}{
"error": "Not found"
}Empty