dambel

دمبل

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

API Docs / gyms / plans / delete



DELETE /api/v1/gyms/{gym-id}/plans/{plan-id}

Deletes a specific subscription plan from a gym.


Permissions

PermissionDescription
gym_plans.deleteDelete plans from your own gyms
gym_plans.delete_anyDelete plans from any gym

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
plan-idintYesID of the plan55

Request Example

DELETE /api/v1/gyms/123/plans/55
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the plan is successfully deleted.


Error Responses

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

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

LinkedinInstagramXYoutube