Agnostic Guides
...
SharePoint Endpoints
Delete
1 min
link enterprise provides a web service endpoint that will allow you to delete a file { "tab" "request", "url" "https //localhost 82/scrud/delete", "name" "delete a file ", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "kind" "required", "name" "ids", "type" "string", "description" "one drive id of the document" }, { "kind" "required", "name" "cmsname", "type" "string", "description" "name of the sharepoint system configured in link enterprise " }, { "kind" "required", "name" "selectedcms", "type" "string", "description" "value should always be set to \\"sp\\" to let link enterprise know which configured content system to search " }, { "name" "repository", "kind" "required", "type" "string", "description" "sharepoint repository id it consists of sharepoint domain name and root site name separated with \\"/sites/\\" or \\" /teams/\\"", "children" \[] }, { "name" "location", "kind" "required", "type" "string", "description" "sharepoint document library location (including any sub site present) each field is separated with \\"/\\" ", "children" \[] } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "zbt9xdtdxepcuzbnprahq", "code" "\\"completed\\"", "language" "200" }, { "id" "b89ygqohw hoyu4ixf1zm", "code" "", "language" "500" } ], "selectedlanguageid" "zbt9xdtdxepcuzbnprahq" }, "examples" { "languages" \[ { "id" "c4psfzhstrxmg8ksy6hs0", "code" "{\n\n \\"cmsname\\" \\"insertproductionsystemname (located in link enterprise gui)\\",\n \\"selectedcms\\" \\"sp\\",\n \\"ids\\" \\"unique sharepoint id specfic to folder/id\\",\n \\"location\\" \\"/\<subsite>/\<documentlibraray>\\",\n \\"repository\\" \\"\<domainname>/sites/\<sitename>\\",\n\n}", "language" "json" } ], "selectedlanguageid" "c4psfzhstrxmg8ksy6hs0" }, "description" "delete a file ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }