Scorable TypeScript SDK - v0.12.1
    Preparing search index...

    Class ProjectsResource

    Index
    • Retrieve a single project.

      Parameters

      • id: string

      Returns Promise<{}>

    • Update a project (partial). Pass is_default: true to promote it to the org default — this atomically clears any previous default. Clearing default directly is rejected by the backend; promote another project instead.

      Parameters

      Returns Promise<{}>

    • Delete a project. The backend rejects deleting a project that has attached resources or is the org's only default.

      Parameters

      • id: string

      Returns Promise<void>