AppInstalls
Cancel an install batch
Cancels the batch. Read GET …/install-batches/active for each
item’s final status. 503 install_outcome_unknown: the outcome is
unknown; read the active batch.
POST
/
v1
/
workspaces
/
{workspaceId}
/
devices
/
{deviceId}
/
install-batches
/
{batchId}
/
cancel
Cancel an install batch
curl --request POST \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/{batchId}/cancel \
--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}/install-batches/{batchId}/cancel', 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}/install-batches/{batchId}/cancel"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "validation_error",
"details": {}
}{
"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
Cancel an install batch
curl --request POST \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/{batchId}/cancel \
--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}/install-batches/{batchId}/cancel', 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}/install-batches/{batchId}/cancel"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "validation_error",
"details": {}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
