({{, (RefLink[ResourceRemove, paclet:ref/ResourceRemove])[resource]
removes the specified resource from the system on which it is run.}})

OpenersNotesSection(Spacer1)Details

(RefLink[ResourceRemove, paclet:ref/ResourceRemove]) deletes both the locally stored content and metadata.

For user-created resources, (RefLink[ResourceRemove, paclet:ref/ResourceRemove]) permanently deletes the resource. For resources hosted in the public repository, only the local cache is deleted.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Create a new resource and import the contents:

ro=ResourceObject[<|"Name"->"100 Primes","ResourceType"->"DataResource","Content"->Prime/@Range[100]|>]

ResourceData[ro]

Save the content locally:

LocalCache[ro]

Removing the resource deletes the local storage:

ResourceRemove[ro]

ResourceData[ro]

Get the contents of a resource from the data repository:

ro=ResourceObject["Friends, Romans, Countrymen"]

Snippet[Get[ro]]

The content is cached locally:

ro["ContentElementLocations"]

After removing the local cache, the content is still available in a (RefLink[CloudObject, paclet:ref/CloudObject]):

ResourceRemove[ro]

ro["ContentElementLocations"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ResourceData, paclet:ref/ResourceData])  ▪  (RefLink[ResourceSearch, paclet:ref/ResourceSearch])  ▪  (RefLink[ResourceUpdate, paclet:ref/ResourceUpdate])  ▪  (RefLink[NetModel, paclet:ref/NetModel])  ▪  (RefLink[CloudObject, paclet:ref/CloudObject])  ▪  (RefLink[ContentObject, paclet:ref/ContentObject])  ▪  (RefLink[DeleteFile, paclet:ref/DeleteFile])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Wolfram Resource System, paclet:guide/WolframResourceSystem])}, {▪(RefLinkPlain[Wolfram Function Repository, paclet:guide/WolframFunctionRepository])}, {▪(RefLinkPlain[Wolfram Data Repository, paclet:guide/WolframDataRepository])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-DataRepository.png(Spacer1)Wolfram Data Repository, http://datarepository.wolframcloud.com])}})}})