-
Notifications
You must be signed in to change notification settings - Fork 8
DELETE Image Endpoint
goldy4719 edited this page Apr 10, 2026
·
1 revision
Validates the image’s UUID and then deletes the image and corresponding metadata from S3 and DynamoDB.
- Valid JWT token
- Extract the authenticated user_id.
- Delete the image file from S3.
- Delete the corresponding metadata from DynamoDB.
- Return the deletion result.
- No rollback mechanism exists between S3 and DynamoDB.
- Consistent key structure is required for S3 objects.