Deactivate network policy
PATCH/dwsu/:dwServiceUnitId/network-policy/:networkPolicyId/deactivate
Deactivates a network policy for the specified service unit. This operation is effective only when the network policy is in the ACTIVE state.
Request
Path Parameters
dwServiceUnitId stringrequired
The ID of the service unit.
Example: dw123
networkPolicyId stringrequired
The ID of the network policy.
Example: np123
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
code int32
The response code.
data string[]
The wrapped responding data.
msg string
The response message.
{
"code": 0,
"data": [
"string"
],
"msg": "string"
}
Loading...