Delete Specific Asset Type API
Require Authentication
This API is used to delete specific asset type for the company based on combination of deviceID and token.
When deleting asset type, it will also delete all project pins and its images that related with this asset type.
URL
api/manageassets/deletetype/:pintypeID
Required parameter (in URL)
- :pintypeID «contains pintypeID that will be deleted. It must be put in the URL, e.g: api/companies/deletedepartment/2»
Required parameter (POST)
- deviceID
- token
Optional parameter
Example JSON Payload
{ "deviceID": "ABCD-EFGH-IJKL-MNOP", "token": "c43fa596e7916827106b591e2bb026cd" }
Possible return HTTP status code
- 200
- 400
- 401
- 404
- 405
Return message
{ "status": "success", "message": [ "Asset Type \"test pin type API edit\" has been deleted." ] }