PermuteDocs
Go to Permute

Memberships · organizationMembersRemove

Remove an organization member

Removes the organization membership and the member’s direct workspace memberships in that organization, while preserving workspace ownership. Requires a direct platform user session and current organization administration.

DELETE/v1/organizations/{organizationId}/members/{userId}
betaplatformUserorganization

When to use

Remove a direct organization membership.

For agents

Requires the signed-in administrator’s direct platform access token.

Example

typescript
import { PermuteClient } from '@permute/sdk';

const client = new PermuteClient({ accessToken: async () => process.env.PERMUTE_ACCESS_TOKEN! });
const result = await client.organizationMembers.remove('org_acme123', 'user_example');

Response

json
{
  "data": {
    "removed": true
  }
}