Delete a program
/api/v1/programs/{program_uuid}
operationId: program.delete
Base: https://portal.watcheye.com.au/api/v1/programs/{program_uuid}
Soft-deletes the program and every entity in it (and that entity's checks, ID checks,
reports, events, notes and crossmatches). The records are no longer returned by list/show
endpoints but are retained for compliance and audit purposes. The deleted program
record is returned in the response as confirmation; a subsequent show or list call for it
will return 404.
See the Soft Deletion section of the API guide for the full policy (30-day recovery window, portal-only restore, what gets cascaded).
Path parameters
| Field | Description |
|---|---|
program_uuidrequired |
string (uuid) The program UUID |
Responses
Program deleted
application/json
| Field | Description |
|---|---|
data |
object |
data. |
string (uuid) The program's UUID |
data. |
string A short obfuscated public identifier for the program (e.g. "P-123-456-789") |
data. |
string The display name of the program |
data. |
string Lifecycle status of the program:
|
data. |
array of strings Email addresses (max 5) that receive event report notifications for this program |
data. |
integer How long, in months, to keep entity data for. Permitted values: |
data. |
string Whether events from the same entity should be grouped into one event:
|
data. |
integer or null When |
data. |
string or null The risk level pre-filled when a new entity is added to this program:
|
data. |
string (date-time) ISO 8601 timestamp at which the program was created |
data. |
string (date-time) ISO 8601 timestamp at which the program was last updated |
api_reference |
string (uuid) |