Management Plane API >
Security
>
Services
>
Service Insertion
Delete an existing Service and the Service-Instance associated with it.
Removes Service-Insertion Service from the system. A Service with
Service-Instances can only be deleted by passing "cascade=true" parameter.
Request:
Method:
DELETE
URI Path(s):
/api/v1/serviceinsertion/services/<service-id>
Request Headers:
n/a
Query Parameters:
ServiceInsertionDeleteParameters
+
ServiceInsertionDeleteParameters
(
schema
)
Name
Description
Type
Notes
cascade
Flag to cascade delete all the child objects, associated with it.
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<nsx-mgr>/api/v1/serviceinsertion/services/65a60890-6f48-418d-a7d5-5aaf65fc4e5b
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
service_insertion
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable