Partager via


remove documents Method

Deletes the specified documents or folders from the Web site specified by the service_name parameter.

Syntax

method=remove documents:server_extension_version
&service_name=/&url_list=list_of_urls[&time_tokens=time]
[&validateWelcomeNames=(true|false)]

Parameters

service name

url_list

time_tokens

validateWelcomeNames

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=remove+documents:6.0.n.nnnn
&service_name=/
&url_list=[_borders/top.xml]

Return Value

Success

message=successfully removed documents

Error

Returns an error message in standard format. For more information, see Error Message Format for FrontPage 2002 Server Extensions from Microsoft. In addition, if any selected files or directories cannot be deleted, the return value lists the documents and directories that were not deleted.