Policy > Security > Service Insertion > Service References

Create service reference

Create Service Reference representing the intent to consume a given 3rd party
service.
This API is only available when using VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/service-references/<service-reference-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ServiceReference+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/service-references/SR-1 { "resource_type": "ServiceReference", "description": "Test Service Reference", "id": "SR-1", "display_name": "SR-1", "partner_service_name": "DummyServiceDefinition", "enabled": true, "_revision":0 }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_si

Additional Errors: