uncheckout document Method

Applies to: SharePoint Foundation 2010

Undoes a check-out of a file from a source control database. If the file has changed after it was checked out, this method causes those changes to be lost.

method=uncheckout document:server_extension_version
&service_name=/
&document_name=service_relative_path/file_name
&time_checked_out=time&rlsshortterm=(true|false)

Parameters

service_name

document_name

force

time_checked_out

rlsshortterm

validateWelcomeNames

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=uncheckout+document:6.0.n.nnnn
&service_name=/
&document_name=folder_name/file_name
&force=false
&rlsshortterm=false