Delete a contribution
curl --request DELETE \
--url https://v2.stopbars.com/contributions/{id} \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/contributions/{id}"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/contributions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Contributions
Delete a contribution
Deletes a contribution only when it is pending or rejected. Staff (Product Manager or higher) or the original submitter may perform this action.
DELETE
/
contributions
/
{id}
Delete a contribution
curl --request DELETE \
--url https://v2.stopbars.com/contributions/{id} \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/contributions/{id}"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/contributions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Was this page helpful?
