deletePhoto
- Home
 - Multimedia
 - UgcPhoto
 - deletePhoto
 
deletePhoto
Deletes a photo.
Parameters
| Name | Description | 
| xrefID optional | The primary identifier of the photo (Same as photoID) | 
| contentID optional | The content id of the content that is being referenced. | 
| output optional | The response output format. Accepts JSON and XML. | 
Request Syntax
| https://services.onesite.com/rest/ugcPhoto?action=deletePhoto&xrefID=160546016&devkey=[devkey] | 
JSON Response
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  | 
						{ 	"service":"ugcPhoto", 	"action":"deletePhoto", 	"code":1, 	"message":"Success", 	"total":1, 	"page":1, 	"per_page":1, 	"item":{ 		"1":{ 			"contentID":"1812475289", 			"xrefID":160546016, 			"contentType":"photo", 			"status":"deleted" 		} 	} }  | 
					
Service Information
| Service | ugcPhoto | 
| Method | deletePhoto | 
| Type | REST | 
| Response Types | JSON, XML |