# Create a project

Status defaults to "planned". leadId must reference a member of the caller's org (else 400 "invalid leadId"); an empty-string leadId is treated as null. targetDate accepts YYYY-MM-DD (or RFC3339, truncated to the day). The team must belong to the caller's org (else 404). `name` is stored trimmed and must be unique within the team, compared case-insensitively — a name already in use is a 409.

Canonical: https://easerix.com/docs/developers/api/tasks/projects/createProject

{/* 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="tasks" operations={[{"path":"/v1/projects","method":"post"}]} />
    </>
  );
}
