DELETE existing NsInstance

Use this API to delete an existing NsInstance.

The NsInstance must be in the NOT_INSTANTIATED state. The following elements of the request and responses are described here with examples:

Request

Table 1. Request
Aspect Value
Endpoint URL /api/etsi/nslcm/v2/ns_instances/<nsInstanceId>
HTTP Method DELETE

Request headers

Table 2. Request headers
Header Value
Content-Type application/json
Version 2.0.0

Response codes

Table 3. Response codes
HTTP status code Description
204 When the NsInstance is deleted successfully.
404 When the NsInstance with the ID nsInstanceId does not exist.
409 When the Instance is in the INSTANTIATED state.
4xx/5xx In addition to the response codes defined in this table, any common error response codes.

Response body

On success (204) the response body is empty. On failure, it contains an object describing the problem that caused it to fail.