All Products
Search
Document Center

Cloud Phone:OperateApp

Last Updated:Dec 12, 2025

Operates apps in a cloud phone, such as opening, closing, and reopening apps.

Operation description

This operation runs asynchronously. To check the operation result, visit the Task Center. To retrieve task details, call the DescribeTasks operation.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceIdList

array

No

The IDs of the cloud phone instances.

string

No

The ID of the cloud phone instance.

acp-dvbhknfasf123****

AppId

integer

No

The ID of the app.

1234

OperateType

string

No

The type of the operation.

Valid values:

  • stop :

    Closes the app.

  • restart :

    Reopens the app.

  • start :

    Opens the app.

start

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The ID of the request.

425F351C-3F8E-5218-A520-B6311D0D****

TaskId

string

The ID of the task.

t-imr0fufqgac2z****

Examples

Success response

JSON format

{
  "RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
  "TaskId": "t-imr0fufqgac2z****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.