Resource Center/Network Resource/L3 Network Operations
PUTL3 Network OperationsSince 0.6SynchronousAuth Required
ChangeL3NetworkState
ChangeL3NetworkState
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
changel3networkstateObjectRequiredchangel3networkstate request body object.
stateEventStringThe state. Options: enable and disable.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/l3-networks/{uuid}/actions
/zstack/v1/l3-networks/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/l3-networks/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changel3networkstate":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "name": "Test-L3Network", "l2NetworkUuid": "dfae4bce43694f4d9fc0ba5cdf4e38bd" } }Change History
This API has no change history records yet.
