Remove Project Source
Projects
Remove Project Source
Remove a source from a project: soft-delete the source and its records.
Two soft-deletes in one transaction:
- the
project_sourcesrow is markedis_active = False; - every
memory_recordsrow derived from that source (matched exactly onsource_id, never heuristically) is markedis_active = False, so no orphaned record for this source stays retrievable.
Other sources in the project and the general (project_id IS NULL) pool are never touched. Returns 404 when the project or the source is not owned by the authenticated user, so cross-tenant existence is not leaked.
IDOR AUDIT PASS - project + source ownership and both writes filter by
the authenticated user_id.
DELETE
Remove Project Source
Authorizations
EDN API key presented as 'Bearer ' in the Authorization header. Create and manage keys from the Console.
