eRS Actions icon

eRS Actions

Interact with the Ers App API

Project → Delete

AI-generated

Summary

Deletes a single project in eRS by its numeric ID, optionally cascading the deletion to the project's requirements, bookings, timesheet entries, and rates.

Inputs

  • Authentication — Credential type to use: OAuth2 (recommended, default) or Access Token.
  • Project ID (required) — Unique numeric ID of the project to delete (minimum 1).
  • Force Delete Options — Collection of boolean flags, each default false: Force Delete Requirements, Force Delete Bookings, Force Delete Timesheet Entries, and Force Delete Rates. Enabling a flag also deletes that type of associated record.
  • Request Options — Node-level HTTP settings: batching (items per batch, default 50, and interval in ms, default 1000), ignore SSL issues, proxy URL, and timeout in ms (default 10000).

Output shape

Not determinable from the provided source. The source pack contains only stubbed modules, so the response body is unknown. Expect the eRS API's response for the delete request, likely a confirmation or empty result.

The implementation of the delete call is not visible, so the exact return shape and error behavior are unconfirmed. If the project has associated records and no force flags are set, the API may reject the deletion, but this is not confirmed by the source.

Examples

Example 1: Remove a cancelled project that has no associated data.

Project ID = 1234; leave Force Delete Options empty.

Example 2: Fully purge a project along with its bookings and timesheet entries.

Project ID = 1234; in Force Delete Options enable Force Delete Bookings and Force Delete Timesheet Entries.

Example 3: Bulk-delete projects from a list, throttled to avoid rate limits.

Project ID = {{$json.id}}; Request Options > Batching with 10 items per batch and 2000 ms interval.

Links

Discussion