Skip to main content

Activate network policy

PATCH 

/dwsu/:dwServiceUnitId/network-policy/:networkPolicyId/activate

Activates a network policy for the specified service unit. This operation is effective only when the network policy is in the INACTIVE 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

OK

Schema

    code int32

    The response code.

    data string[]

    The wrapped responding data.

    msg string

    The response message.

Loading...