Resolve "add delete datafile api endpoint"
Compare changes
+ 2
− 5
@@ -99,7 +97,6 @@ class DataFileDeleteJSONView(TokenLoginMixin, SlugMixin, BaseDetailView):
Closes #136 (closed)
import requests
url = 'http://localhost:8000/api/v1/datafiles/json/delete/DF00000000'
headers = {'Iric-Auth-Token': '123xyz123xyz123xyz123xyz123xyz123xyz123xyz123xyz123xyz123xyz'}
r = requests.delete(url, headers=headers)
r.json()