Platform O&M/Cloud Monitoring/Monitoring and Alarm/SNS/ZWatch Operations/Alarm Operations
PUTAlarm OperationsSince 4.7.0SynchronousAuth Required
ChangeEventSubscriptionState
ChangeEventSubscriptionState
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Query Parameters
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Body Fields
changeeventsubscriptionstateObjectRequiredchangeeventsubscriptionstate request body object.
stateStringRequiredThe event alarm state.
Responses
Endpoint
PUT/zstack/v1/zwatch/change/eventSubscription/{uuid}/state
/zstack/v1/zwatch/change/eventSubscription/{uuid}/state
Request Example
curl -X PUT 'http://{host}/zstack/v1/zwatch/change/eventSubscription/{uuid}/state?systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changeeventsubscriptionstate":{"state":"<state>"}}'
Response Example
200{}Change History
This API has no change history records yet.
