deleteNamedResource

Description

The request to delete a named resource from the repository. You can only delete individual resource with this operation. You cannot delete entire nodes (folders) in the repository.

Note: This operation requires write permission to the repository.

Messages

The following table lists the request and response messages for the deleteNamedResource operation.

Click on a message name to get more information about the message.

Message Description
DeleteNamedResourceRequest The request message for the deleteNamedResource operation.
DeleteNamedResourceResponse The response message for the deleteNamedResource operation.

Example XML SOAP Request

Deletes the TestNamedResource from the TestPath node in the repository.


<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v1="http://www.mapinfo.com/midev/service/namedresource/v1">
    <soapenv:Header/>
    <soapenv:Body>
        <v1:DeleteNamedResourceRequest id="del1" locale="en-US">
            <v1:Path>/TestPath/TestNamedResource</v1:Path>
        </v1:DeleteNamedResourceRequest>
    </soapenv:Body>
</soapenv:Envelope>