delete_media
Remove a photo or video from a workout or custom exercise on openGym by hash. The file is deleted after the grace period or immediately via sweep.
Instructions
Take a photo or video off a workout or a custom exercise. openGym deletes the file itself once nothing references it for its grace period (14 days by default), or at once with delete_media_sweep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| workoutId | No | ||
| customExerciseId | No |