Exayard icon

Exayard

AI-powered construction takeoffs, estimates, and bids

Project → Archive

AI-generated

Summary

Archives an Exayard project by ID. This is a soft delete: it sends DELETE /projects/{id}, and the project is not permanently removed.

Inputs

  • Project ID (required) — ID of the Exayard project to archive.
  • Organization ID — Exayard organization ID (org_...). If blank, the node looks it up from the API key (first membership returned by GET /me). It errors if no organization can be found.

Output shape

One item per input item, with the JSON { "ok": true, "archived": "" }.

The API response body is discarded and the node builds this fixed confirmation. If the API call fails, the node throws an API error with the status, code and detail. With Continue On Fail enabled, it emits an item containing error, code and status instead. Each input item triggers its own archive call.

Examples

Example 1: Archive a project after a bid is lost

Resource: Project, Operation: Archive, Project ID set by expression from an earlier node ({{$json.projectId}}), Organization ID left blank.

Example 2: Archive projects in an organization other than the key's default

Project ID set to the target project, Organization ID set to org_xxx.

Links

Discussion