Delete Route Entry by ID

delete

/{versionId}/routeSets/{routeSetId}/entries/{entryId}

Delete a route set entry based on a specified ID that exists on the SDM server. User provides the route set ID and route entry ID as part of the URI to delete the specified route entry.

Request

Path Parameters
Back to Top

Response

200 Response

400 Response

The user input is invalid.

401 Response

The session ID is invalid.

403 Response

There is no permission to access the resources.

404 Response

The object (resource URI, device, and so on) of your input request cannot be found.

500 Response

Internal server error
Back to Top

Examples

Examples of Accessing the API

See Authenticate for how to acquire a session cookie.

The following example shows how to delete route entry by ID using curl.

curl -X DELETE \
    -b sessionid.txt \
    --header "Accept: application/xml" \
    --header "Content-Type: application/xml" \
    "https://example.com:8443/rest/v1.3/routeSets/{routeSetId}/entries/{entryId}"

The following example shows how to delete route entry by ID using Python.

import requests
from lxml import etree
url = "https://example.com:8443/rest/v1.3/routeSets/{routeSetId}/entries/{entryId}"
headers = { "Accept":"application/xml", "Cookie":cookie }
resp = requests.delete(url, headers=headers)

Example of the Response Body

This endpoint does not return a response body.

Back to Top