AppInstalls
Uninstall a catalog app from a phone
Removes one installed catalog app. Reinstall it with
POST …/installs and a new key. 503 uninstall_outcome_unknown
means it may have run: list the installs before retrying.
Retries: a repeat after success answers 409; list the installs to read the state.
POST
/
v1
/
workspaces
/
{workspaceId}
/
devices
/
{deviceId}
/
installs
/
{installId}
/
uninstall
Uninstall a catalog app from a phone
curl --request POST \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall \
--header 'X-Api-Key: <api-key>'const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"package": "<string>",
"version_code": "<string>",
"status": "queued",
"error_class": "<string>",
"launch_status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": "validation_error",
"details": {}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Was this page helpful?
⌘I
Uninstall a catalog app from a phone
curl --request POST \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall \
--header 'X-Api-Key: <api-key>'const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/installs/{installId}/uninstall"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"package": "<string>",
"version_code": "<string>",
"status": "queued",
"error_class": "<string>",
"launch_status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": "validation_error",
"details": {}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
