Disables automatic package creation for one or more software Disables auto-update for the specified software IDs. New template packages will no longer be automatically created when updates become available.
Request URL https://{server-hostname}:8383/dcapi/swDeployment/disableSWAutoUpdate
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers Content-Type string Mandatory
- Request Body application/json Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
--url https://appdomain/dcapi/swDeployment/disableSWAutoUpdate \
--header 'Accept: application/disableSWAutoUpdate.v1+json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/disableSWAutoUpdate.v1+json' \
--data '{"softwareIds":[2001]}'import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import java.net.http.HttpTimeoutException;
public class Main {
public static void main(String[] args) {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://appdomain/dcapi/swDeployment/disableSWAutoUpdate"))
.header("Content-Type", "application/disableSWAutoUpdate.v1+json")
.header("Accept", "application/disableSWAutoUpdate.v1+json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"softwareIds\":[2001]}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"softwareIds\":[2001]}"
headers = {
'Content-Type': "application/disableSWAutoUpdate.v1+json",
'Accept': "application/disableSWAutoUpdate.v1+json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/dcapi/swDeployment/disableSWAutoUpdate", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Content-Type", "application/disableSWAutoUpdate.v1+json");
headersMap.put("Accept", "application/disableSWAutoUpdate.v1+json");
data=Map();
data_softwareIds=List();
data.put("softwareIds",data_softwareIds);
response = invokeUrl
[
url: "https://appDomain/dcapi/swDeployment/disableSWAutoUpdate"
type: POST
headers: headersMap
body: data
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("Content-Type", "application/disableSWAutoUpdate.v1+json")
$headers.Add("Accept", "application/disableSWAutoUpdate.v1+json")
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/dcapi/swDeployment/disableSWAutoUpdate' -Method POST -Headers $headers -ContentType 'application/disableSWAutoUpdate.v1+json' -Body '{"softwareIds":[2001]}'Sample Request Body Disable auto-update for a single software
Copied!
{
"softwareIds": [
2001
]
}
▼ Show full
Disable for multiple software
Copied!
{
"softwareIds": [
2001,
2002,
2003
]
}
▼ Show full
Response Parameters - HTTP code 200 Response Body - application/json - HTTP code 401 Response Body - application/json JSON Object
Hide Sub-Attributes errorCode long
Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required)
errorMsg string
Authentication failure reason
- HTTP code 500 Response Body - application/json JSON Object
Hide Sub-Attributes errorCode string
INTERNAL_ERROR for general failures, SW_INTERNAL_ERROR for software deployment internal errors
errorMessage string
Internal server error with details about the template/auto-update operation failure
Possible Response Codes Sample Response: HTTP 200 {
"status": 0
}
▼ Show full
Sample Response: HTTP 401 {
"errorMessage": "Unauthorized access",
"errorCode": "UAC_UNAUTHORIZED"
}
▼ Show full
Sample Response: HTTP 500 {
"errorMessage": "Internal Server Error",
"errorCode": "INTERNAL_ERROR"
}
▼ Show full
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.