Delete Specific Image on a Pin API
Require Authentication
This API is used to delete specific image on a pin for the company based on combination of deviceID and token.
URL
api/projects/deletepinimage/:projectID/:projectpinID/:projectpinimageID
Required parameter (in URL)
- :projectID «contains projectID that will be deleted. It must be put in the URL, e.g: api/projects/deletepinimage/1/1/3. To get available projectID, please visit Get Available Zones»
- :projectpinID «contains projectpinID that will be deleted. It must be put in the URL, e.g: api/projects/deletepinimage/1/1/3. To get available projectpinID, please visit Get Available Pins on a Zone Map»
- :projectpinimageID «contains projectpinimageID that will be deleted. It must be put in the URL, e.g: api/projects/deletepinimage/1/1/3»
Required parameter (POST)
- deviceID
- token
Optional parameter
Example JSON Payload
{
"deviceID": "ABCD-EFGH-IJKL-MNOP",
"token": "bb602ab13b8090268cd6e3bb9dfa39e2"
}
Possible return HTTP status code
- 200
- 400
- 401
- 404
- 405
Return message
{
"status": "success",
"message": [
"Zone Pin Image \"choco\" has been deleted."
]
}