Update Service Definition
Update an existing Service Definition on the given enforcement point
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/enforcement-points/{enforcement-point-id}/service-definitions/{service-definition-id}
Request Body
Request Body
ServiceDefinition of type(s) application/json
Required
Registering a Service is the first step in the ServiceInsertion mechanism. A ServiceDefinition is used to create a service.
(The request body parameter is missing description)
{}
Request data structure does not contain any properties!
Response
Response
Response BodyResponse Body
200 OK returns
ServiceDefinition of type(s) application/json
{}
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/enforcement-points/{enforcement-point-id}/service-definitions/{service-definition-id}
Errors
BadRequest
400
The request cannot be fulfilled due to bad syntax.
Forbidden
403
The server understood the request, but is refusing to fulfill it.
404
Not Found
PreconditionFailed
412
This error has no documentation
InternalServerError
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
ServiceUnavailable
503
The server is currently unavailable (because it is overloaded or down for maintenance).