Remove the association of profiles from a group Profiles get disassociated from the group
Request URL https://{server-hostname}:8383/api/v1/mdm/groups/{group_id}/profiles
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers Content-Type string Mandatory
- Path Parameters group_id string Mandatory
Unique identifier of the group. Obtain from the Get Group List response
- Request Body application/json Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request DELETE \
--url https://appdomain/api/v1/mdm/groups/{group_id}/profiles \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"profile_ids":[9007199254741036,9007199254741038,9007199254741040]}'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/api/v1/mdm/groups/{group_id}/profiles"))
.header("Content-Type", "application/json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("DELETE", HttpRequest.BodyPublishers.ofString("{\"profile_ids\":[9007199254741036,9007199254741038,9007199254741040]}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"profile_ids\":[9007199254741036,9007199254741038,9007199254741040]}"
headers = {
'Content-Type': "application/json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("DELETE", "/api/v1/mdm/groups/{group_id}/profiles", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Content-Type", "application/json");
data=Map();
data_profile_ids=List();
data.put("profile_ids",data_profile_ids);
response = invokeUrl
[
url: "https://appDomain/api/v1/mdm/groups/{group_id}/profiles"
type: DELETE
headers: headersMap
body: data
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("Content-Type", "application/json")
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/api/v1/mdm/groups/{group_id}/profiles' -Method DELETE -Headers $headers -ContentType 'application/json' -Body '{"profile_ids":[9007199254741036,9007199254741038,9007199254741040]}'Sample Request Body Disassociate three profiles from the group
Copied!
{
"profile_ids": [
9007199254741036,
9007199254741038,
9007199254741040
]
}
▼ Show full
Sample Response: HTTP 200
Duration: 1 minute | Threshold: 400 | 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.