# Accept the suggestion

Joins as member and returns an access token already switched into the workspace. Idempotent for an existing member.
The user is also enrolled in the workspace's "General" team in the same transaction, so the returned token's teams[] already carries it.

Canonical: https://easerix.com/docs/developers/api/auth/domains/joinDiscoverable

{/* 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/me/discoverable/join","method":"post"}]} />
    </>
  );
}
