Deleting an Application from the Shared Space
When all cloud phones on a cloud phone server no longer use a shared application, you can delete the shared application from the shared space to release storage space.
Constraints and Limitations
The shared application has been uninstalled from all cloud phones on the cloud phone server.
Example API
DELETE "https://${CPH Endpoint}/v1/${projectId}/cloud-phone/phones/share-apps"
Header:
Content-Type: application/json
X-Auth-Token: ${token}
Body:
{
"package_name": "com.huawei.xxxx",
"server_ids": ["1678567b8bab40f937112xxxxx","1234567b8bab40ffb711xxxxx"]
} package_name indicates the actual package name of the application. server_ids indicates the server ID list. You can specify multiple server IDs.
For details, see Deleting a Shared Application.
- Before deleting a shared application from a cloud phone server, the application must have been uninstalled from all cloud phones of the server. Otherwise, the application will fail to be deleted. The API will fail to be invoked and a list of cloud phones where the application is not uninstalled will be returned.
- If there are multiple versions of a shared application in the shared space and the application of the earlier version is not installed on any cloud phone, the application of the earlier version will be automatically cleared periodically.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot