dambel

دمبل

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

API Docs / gyms / working-periods / delete



DELETE /api/v1/gyms/{gym-id}/working-periods/{working-period-id}

Deletes a specific working period from a gym.


Permissions

PermissionDescription
gym_working_periods.deleteDelete working periods from your own gyms
gym_working_periods.delete_anyDelete working periods from any gym

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
working-period-idintYesID of the working period55

Request Example

DELETE /api/v1/gyms/123/working-periods/55
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the working period is successfully deleted.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

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

LinkedinInstagramXYoutube