DELETE /api/v1/gyms/{gym-id}/subscriptions/manage/{subscription-id}
Deletes a subscription for a user in a specific gym.
Permissions
Permission | Description |
---|
gym_subscriptions.delete | Delete subscriptions for your own gyms |
gym_subscriptions.delete_any | Delete subscriptions for any gym |
URL Parameters
Name | Type | Required | Description | Example |
---|
gym-id | int | Yes | ID of the gym | 123 |
subscription-id | int | Yes | ID of the subscription | 456 |
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