care icon indicating copy to clipboard operation
care copied to clipboard

Missing DELETE API Endpoint for Resource Deletion

Open soumya-maheshwari opened this issue 11 months ago • 6 comments

Describe the bug Currently, the Swagger documentation for the Resource API only includes endpoints for retrieving, creating, updating, and partially updating resources. However, there's no mention of a DELETE endpoint for resource deletion.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://care.ohc.network/resource/
  2. Click on all details of any resource
  3. Click on delete record
  4. See error

Expected behavior The DELETE API endpoint should accept a resource identifier (external_id) as a parameter and delete the corresponding resource from the system.

Screenshots

image

image

soumya-maheshwari avatar Mar 18 '24 13:03 soumya-maheshwari