You can call this operation to dispatch all security check tasks.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyPushAllTask

The operation that you want to perform.

Set the value to ModifyPushAllTask.

SourceIp String No

The source IP address of the request.

Uuids String No uuid1,uuid2,uuid3

The list of UUIDs of instances.


The list of tasks.

Response parameters

Parameter Type Example Description
RequestId String 91EB4AC7-7FEF-4C72-BE49-4414E459AEC2

The ID of the request.

PushTaskRsp Struct

The task dispatch result.

PushTaskResultList Array

The list of tasks failed to be dispatched.

InstanceId String i-xxxsasssss

The ID of the instance.

OsVersion String linux

The operating system version.

InstanceName String Pay-as-you-go online monitoring

The name of the instance.

Success Boolean false

The task dispatch result.

GroupId Long 226

The ID of the group to which the ECS instance belongs.

Ip String

The IP address of the instance.

Online Boolean true

Indicates whether the Security Center agent is connected.

Message String {\"code\":\"clinent_offline\",\"message\":\"The Security Center agent is disconnected\",\"success\":false}

The message indicating task details.

Region String cn-beijing-ss-10

The region where the instance is deployed.

Uuid String inet-xxxxx-xxxx-xxxx-xxx-xxx

The UUID of the instance.


Sample requests

http(s)://[Endpoint]/? Action=ModifyPushAllTask
&<Common request parameters>

Sample success responses

XML format

            <InstanceName>Pay-as-you-go online monitoring</InstanceName>
            <Message>{"code":"clinent_offline","message":"The Security Center agent is disconnected","success":false}</Message>

JSON format

      "InstanceName":"Pay-as-you-go online monitoring",
      "Message":"{\"code\":\"clinent_offline\",\"message\":\"The Security Center agent is disconnected\",\"success\":false}",

Error codes

For a list of error codes, visit the API Error Center.