Policy >
Security
>
Service Insertion
>
Service References
Delete Service Reference
This API can be used to delete a service reference with the given service-reference-id.
This API is only available when using VMware NSX-T.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/service-references/<service-reference-id>
Request Headers:
n/a
Query Parameters:
PolicyServiceReferenceCascadeDeletionParam
+
PolicyServiceReferenceCascadeDeletionParam
(
schema
)
Name
Description
Type
Notes
cascade
Flag to cascade delete all children associated with service reference
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/service-reference/SR-1
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
policy_si
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable