Click or drag to resize
RESTServiceDeleteObject Method
Deletes object of given type with specified ID. If ID is not integer, than it's considered object name and object from current site with given name is returned.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
public Stream DeleteObject(
	string objectType,
	string id
)

Parameters

objectType
Type: SystemString
Object type of the object
id
Type: SystemString
ID of the object

Return Value

Type: Stream

Implements

IRESTServiceDeleteObject(String, String)
See Also