delete_resource Method

Delete a resource.

Syntax

def delete_resource(resource_uri: str) -> None: ...

Remarks

The resource or collection specified by ResourceURI is deleted. The delete_resource method behaves independently of the depth property. If ResourceURI denotes a non-collection resource, it is first removed from any collection which contains, then is removed from the server. If ResourceURI denotes a collection, the server behaves as if the command were issued with an infinite depth (ie, all internal member URIs denoting single resources or collections are deleted).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]