Delete Service Definition
Delete an existing Service Definition on the given enforcement point.
Request
URI
DELETE
https://nsxmanager.your.domain/policy/api/v1/enforcement-points/{enforcement-point-id}/service-definitions/{service-definition-id}
COPY
Path Parameters
string
enforcement-point-id
Required
Enforcement point id
string
service-definition-id
Required
Id of service definition
Responses
200
OK
Operation doesn't return any data structure
400
Returns
BadRequest
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
403
Returns
Forbidden
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
404
Returns
NotFound
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
412
Returns
PreconditionFailed
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
500
Returns
InternalServerError
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
503
Returns
ServiceUnavailable
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}