# Remove a member (or leave)

Team orgs only. Self-removal needs no permission; removing others needs org.members.manage; removing an owner is owner-only and the last owner 409s. Cleans up team memberships and default-org pointers.

Canonical: https://easerix.com/docs/developers/api/auth/members/removeMember

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="auth" operations={[{"path":"/v1/orgs/{id}/members/{uid}","method":"delete"}]} />
    </>
  );
}
