# Create a user API key

Full sessions only. Returns 200 (not 201) with the key including its show-once secret. org_id defaults to the personal org; role is ignored for user keys; expires_in_days null = 365, 0 = never.

Canonical: https://easerix.com/docs/developers/api/auth/me/createUserApiKey

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