cURL
curl --request DELETE \ --url https://api.juo.io/admin/v1/subscriptions/{subscriptionId}/discounts/{discountId} \ --header 'Content-Type: application/json' \ --header 'X-Juo-Admin-Api-Key: <api-key>' \ --data '{}'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resource": "subscription-discount", "deleted": true }
Used to delete a subscription discount.
The subscription identifier
The subscription discount identifier
Default Response
The response is of type object.
object