dambel

دمبل

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

API Docs / gyms / subscriptions / manage / delete



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

Deletes a subscription for a user in a specific gym.


Permissions

PermissionDescription
gym_subscriptions.deleteDelete subscriptions for your own gyms
gym_subscriptions.delete_anyDelete subscriptions for any gym

URL Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
subscription-idintYesID of the subscription456

Request Example

DELETE /api/v1/gyms/123/subscriptions/manage/456
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the subscription is successfully deleted.


Error Responses

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

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

LinkedinInstagramXYoutube