-
Notifications
You must be signed in to change notification settings - Fork 0
Untrack stream
Rafael Chacon edited this page Feb 22, 2012
·
1 revision
###URL:
DELETE http://public-api.piictu.com/v2/trackings/<stream id>
###HTTP method(s): DELETE
###Requires authentication (Authentication and Authorization):
Yes
###Parameters:
- none needed
###Usage example:
Example using cURL:
curl -i http://public-api.piictu.com/v2/trackings/4d6ebc4f5a0d032648000016 \
-H "Authorization: OAuth 2540af0de12cb2367691516b8477b0b7bd66dbd8ab6840b147340c6898c4eebd" \
-X DELETE###Response:
On success
- HTTP response code is
200(ok) - HTTP response body is a JSON string like this:
{
"success" : "true"
}On error (when stream identified by :id don't exist)
- HTTP response code is
404(document not found) - HTTP response body is a JSON string like this:
{
"error" : "document not found"
}