Delete Policy Secret Env Route
Policies & uploads
Delete Policy Secret Env Route
Delete an owned policy_secret_envs row + its AWS blob.
Owner-scoped: the caller’s player_id must match the row’s player_id, else 404. Policy versions still referencing this secret_id will have their FK SET NULL by the cascade — they keep existing but lose their secret blob (the user’s intent). The route deletes AWS first, then DB; a partial failure leaves a row pointing at a missing blob, which is the same edge the upload path tolerates.
DELETE
Delete Policy Secret Env Route

