dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / subscriptions / delete-checkin



DELETE /api/v1/gyms/{gym-id}/subscriptions/delete-checkin/{subscription-id}/{checkin-id}

Deletes a check-in record from a gym subscription.


Permissions

PermissionDescription
gym_subscription_checkins.deleteDelete check-ins for your own gyms
gym_subscription_checkins.delete_anyDelete check-ins for any gym

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
subscription-idintYesID of the subscription456
checkin-idintYesID of the check-in789

Request Example

DELETE /api/v1/gyms/123/subscriptions/delete-checkin/456/789
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the check-in is successfully deleted.


Error Responses

StatusDescriptionReference
404Not found (invalid gym, subscription, or check-in)
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube