FAQ/API Documentation/Photo Resources

Delete Photo Location

Lockerz Admin
posted this on December 05, 2010 06:42 pm

This call will let you delete a location from a photo.

URL

<API_Endpoint>/photos/{PhotoId}/location

HTTP Method

DELETE

Formats

XML, JSON

Authenticated

Yes

Input

{PhotoId} Id of the photo whose location is being deleted.

Contents

N/A

Output

SessionKeyOperationResponse

Parameters

N/A

Error Codes

400 BadRequest, 10006 InvalidPhotoId - {PhotoId} is not a number.
400 BadRequest, 10007 PhotoDoesntExist - {PhotoId} does not exists.
403 Forbidden - Credentials are not valid.
403 Forbidden, 10030 NotPhotoOwner - Not the photo owner.

Notes

N/A

Example

curl -X DELETE http://api.plixi.com/api/tpapi.svc/photos/1469/location -u mlinenweber14zz@gmail.com:password -H"TPSERVICE:Plixi"

 
Topic is closed for comments