Factify API is currently in Beta.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.organizations.members.remove({
organizationId: "<id>",
userId: "<id>",
});
console.log(result);
}
run();{}Remove a member from an organization. Requires manage permission, or the member can remove themselves. The organization owner cannot be removed.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.organizations.members.remove({
organizationId: "<id>",
userId: "<id>",
});
console.log(result);
}
run();{}Documentation Index
Fetch the complete documentation index at: https://developers.factify.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer , where is your auth token.
Organization to remove the member from. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
^org_[0-9a-hjkmnp-tv-z]{26}$User account ID of the member to remove. Pattern: user_[0-9a-hjkmnp-tv-z]{26}
^user_[0-9a-hjkmnp-tv-z]{26}$Success
RemoveOrganizationMemberResponse is empty on success.