curl --request PATCH \
--url https://sandbox.circularo.com/api/v2/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "admin"
}
'import requests
url = "https://sandbox.circularo.com/api/v2/users/{id}"
payload = { "role": "admin" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({role: 'admin'})
};
fetch('https://sandbox.circularo.com/api/v2/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/users/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'role' => 'admin'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/users/{id}"
payload := strings.NewReader("{\n \"role\": \"admin\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://sandbox.circularo.com/api/v2/users/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"role\": \"admin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/users/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"role\": \"admin\"\n}"
response = http.request(request)
puts response.read_body{
"company": null,
"dateFormat": "dd/MM/yyyy",
"email": "emma.wilson@example.com",
"firstActivityAt": null,
"fullname": "Emma Wilson",
"groupIds": [
"c4a1f0d2-6b3e-4f28-9a71-5d08e3b7c214",
"2d90f4a7-15c8-4b3e-8f61-9a04c7e2b5d1"
],
"id": "emma.wilson@example.com",
"jobTitle": null,
"language": "en",
"organizationId": "c4a1f0d2-6b3e-4f28-9a71-5d08e3b7c214",
"phone": null,
"registeredAt": "2026-05-11T09:32:00.000Z",
"role": "admin",
"status": "newly_created",
"statusChangedAt": "2026-05-11T09:32:00.000Z",
"timeFormat": "h:mm a",
"timezone": "UTC"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 402,
"type": "SUBSCRIPTION:NOT_ACTIVE",
"message": "Subscription not active",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Update a user
PATCH /users/{id}
Updates an organization member’s profile, account status or role. Only the fields you provide are changed. The user’s email address cannot be changed here.
To change which groups a user belongs to, use the group membership endpoints; the role is set here.
Required user rights: update_users
Required user permission profile: organization_admin
curl --request PATCH \
--url https://sandbox.circularo.com/api/v2/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "admin"
}
'import requests
url = "https://sandbox.circularo.com/api/v2/users/{id}"
payload = { "role": "admin" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({role: 'admin'})
};
fetch('https://sandbox.circularo.com/api/v2/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/users/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'role' => 'admin'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/users/{id}"
payload := strings.NewReader("{\n \"role\": \"admin\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://sandbox.circularo.com/api/v2/users/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"role\": \"admin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/users/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"role\": \"admin\"\n}"
response = http.request(request)
puts response.read_body{
"company": null,
"dateFormat": "dd/MM/yyyy",
"email": "emma.wilson@example.com",
"firstActivityAt": null,
"fullname": "Emma Wilson",
"groupIds": [
"c4a1f0d2-6b3e-4f28-9a71-5d08e3b7c214",
"2d90f4a7-15c8-4b3e-8f61-9a04c7e2b5d1"
],
"id": "emma.wilson@example.com",
"jobTitle": null,
"language": "en",
"organizationId": "c4a1f0d2-6b3e-4f28-9a71-5d08e3b7c214",
"phone": null,
"registeredAt": "2026-05-11T09:32:00.000Z",
"role": "admin",
"status": "newly_created",
"statusChangedAt": "2026-05-11T09:32:00.000Z",
"timeFormat": "h:mm a",
"timezone": "UTC"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 402,
"type": "SUBSCRIPTION:NOT_ACTIVE",
"message": "Subscription not active",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Path Parameters
Body
Fields to update on an organization member. Omitted fields are left unchanged.
New role. Replaces the user's current one.
admin: Full administrative rights within the organization: manage members, groups and organization settings, on top of every member capability.member: A regular organization member with full access to documents and signing features (within the subscription plan), but who cannot manage the organization, its groups or its members.preparer: A lite member who can only upload and prepare documents for others to sign and create templates.reader: A lite member who can only view documents shared with them, with no further interaction.signer: A lite member who can only sign documents sent to them and cannot initiate signing.
admin, member, preparer, reader, signer "admin"
New account status. When activating an invited (newly_created) user, send password together with it.
active: The account is active and can be used.password_change_requested: The account must set a new password before it can be used.suspended: The account has been suspended and cannot be used until it is reactivated.
active, password_change_requested, suspended "active"
Response
Returns the updated user.
An organization member: identity, role, group membership, locale preferences and account status.
What the user may do inside the organization. Null when they hold no role.
admin: Full administrative rights within the organization: manage members, groups and organization settings, on top of every member capability.member: A regular organization member with full access to documents and signing features (within the subscription plan), but who cannot manage the organization, its groups or its members.preparer: A lite member who can only upload and prepare documents for others to sign and create templates.reader: A lite member who can only view documents shared with them, with no further interaction.signer: A lite member who can only sign documents sent to them and cannot initiate signing.
admin, member, preparer, reader, signer, null "member"
The current status of the user's account.
active: The account is active and can be used.newly_created: The account has been created but not yet activated.password_change_requested: The account must set a new password before it can be used.suspended: The account has been suspended and cannot be used until it is reactivated.
active, newly_created, password_change_requested, suspended "active"