Delete NSD resource
Use this API to delete an NSD resource. The DELETE method deletes an individual NS descriptor resource and content.
The following elements of the request, example, and response are described:
Request
Aspect | Value |
---|---|
Endpoint URL | /api/etsi/nsd/v2/ns_descriptors/<nsd-id> |
HTTP Method | DELETE |
Request headers
Header | Value |
---|---|
Content-Type | application/json |
Version | 2.1.0 |
Request data
None
Request data example
None
Response codes
HTTP status code | Description |
---|---|
204 | No-Content. When the NSD resource was successfully deleted, the NSD package information is deleted in addition to the archive and related files. |
400 | The response body contains details about the error. |
404 | When no resource for supplied ID is found. |
409 | Typically, this code is due to the operational state of the NSD package resource of "ENABLED" or the usage state is "IN_USE". |
500 | Internal Server Error |
4xx/5xx | In addition to the response codes defined in this table, any common error response codes. |
Response headers
Header | Value |
---|---|
Content-Type | application/json |
Response data
None