{"__v":3,"_id":"564b874a7a18b00d00a21bf2","category":{"__v":6,"_id":"55773af307e7110d001043ef","pages":["564b86fe7a18b00d00a21bec","564b8711d768500d0088b712","564b87210a68360d00a3a536","564b87367a18b00d00a21bef","564b874a7a18b00d00a21bf2","564b876425d7060d005c58a4"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:13:55.100Z","from_sync":false,"order":10,"slug":"subscriptions-api","title":"Subscriptions API"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T20:00:10.194Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"delete","results":{"codes":[{"name":"","code":"{\n  code: 200\n  status: \"success\"\n  data: null,\n  message: \"Subscription 123456 deleted\"\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"58b07875f634c7370091577f","ref":"","in":"path","required":false,"desc":"The subscription_id of the subscription to be deleted","default":"","type":"int","name":"subscription_id"}],"url":"/subscriptions/"},"isReference":true,"order":5,"body":"The **Delete Subscription** method allows an athlete to be deleted and the id of the deleted athlete is returned. Authorization to remove the resource is checked and a 401 response will be returned for those attempting to delete resources without valid authorization.\n\nYou may also delete subscriptions through the [apps.api.triathlon.org](https://apps.api.triathlon.org/) management portal.","excerpt":"","slug":"delete-subscription","type":"endpoint","title":"Delete Subscription"}

deleteDelete Subscription


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

subscription_id:
integer
The subscription_id of the subscription to be deleted

Result Format


Documentation

The **Delete Subscription** method allows an athlete to be deleted and the id of the deleted athlete is returned. Authorization to remove the resource is checked and a 401 response will be returned for those attempting to delete resources without valid authorization. You may also delete subscriptions through the [apps.api.triathlon.org](https://apps.api.triathlon.org/) management portal.

User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}