Delete an NF

delete

/rest/{versionId}/inventory/nfMgmt/nfs/{nfId}

Use this (DELETE) method to delete a Network Function (NF).

Request

Path Parameters

Response

400 Response

The user input is invalid.

401 Response

The session ID is invalid.

404 Response

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

Examples

The following example shows how to delete a specified NF by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL

Example of cURL Data

The following shows an example of cURL data sent with the request.

curl -v -b sessionid.txt -X DELETE -H"Content-Type: application/xml" -H"Accept: application/xml" http://localhost:8080/rest/v1.1/inventory/nfMgmt/nfs/ID18

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 No Content
Date: Thu, 07 Sep 2017 14:14:27 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN