Update the details of an existing managed user Modify user
Request URL https://{serverurl} /api/v1/mdm/users/{user_id}
Scope
Header Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Request Parameters - Path Parameters user_id string Mandatory
Unique identifier of the user. Obtain from the Get Users response
- Request Body application/json JSON object
Hide Sub-Attributes user_email string Optional
Updated email address of the user (required)
user_name string Optional
Updated name of the managed user (required)
phone_number string Optional
Updated phone number of the managed user (required)
Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request PUT \
--url https://appdomain/api/v1/mdm/users/{user_id} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--data '{}'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/users/{user_id}"))
.header("content-type", "application/json")
.header("Authorization", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52")
.method("PUT", HttpRequest.BodyPublishers.ofString("{}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{}"
headers = {
'content-type': "application/json",
'Authorization': "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52"
}
conn.request("PUT", "/api/v1/mdm/users/{user_id}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Content-Type", "application/json");
data=Map();
response = invokeUrl
[
url: "https://appDomain/api/v1/mdm/users/{user_id}"
type: PUT
headers: headersMap
body: data
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("content-type", "application/json")
$headers.Add("Authorization", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/api/v1/mdm/users/{user_id}' -Method PUT -Headers $headers -ContentType 'application/json' -Body '{}'▼ Show full
Sample Request Body Update email, name, and phone number of a managed user
Copied!
{
"user_email": "updated_email@zylker.com",
"user_name": "Mr Zylker Updated",
"phone_number": "+1-555-0****00"
}
▼ Show full
Sample Response: HTTP 202
Duration: 1 minute | Threshold: 60 | 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.