curl --request PUT \
--url 'https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=' \
--header 'Content-Type: application/json' \
--data '
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "john.doe@example.com",
"active": true,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "<string>"
}
],
"externalId": "ext-001",
"phoneNumbers": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "<string>"
}
],
"title": "Software Engineer"
}
'import requests
url = "https://sandbox.circularo.com/api/v1/scim/Users/{id}?token="
payload = {
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
"userName": "john.doe@example.com",
"active": True,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": True,
"type": "work",
"value": "<string>"
}
],
"externalId": "ext-001",
"phoneNumbers": [
{
"display": "<string>",
"primary": True,
"type": "work",
"value": "<string>"
}
],
"title": "Software Engineer"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
schemas: ['urn:ietf:params:scim:schemas:core:2.0:User'],
userName: 'john.doe@example.com',
active: true,
displayName: 'John Doe',
emails: [{display: '<string>', primary: true, type: 'work', value: '<string>'}],
externalId: 'ext-001',
phoneNumbers: [{display: '<string>', primary: true, type: 'work', value: '<string>'}],
title: 'Software Engineer'
})
};
fetch('https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=', 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/v1/scim/Users/{id}?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'schemas' => [
'urn:ietf:params:scim:schemas:core:2.0:User'
],
'userName' => 'john.doe@example.com',
'active' => true,
'displayName' => 'John Doe',
'emails' => [
[
'display' => '<string>',
'primary' => true,
'type' => 'work',
'value' => '<string>'
]
],
'externalId' => 'ext-001',
'phoneNumbers' => [
[
'display' => '<string>',
'primary' => true,
'type' => 'work',
'value' => '<string>'
]
],
'title' => 'Software Engineer'
]),
CURLOPT_HTTPHEADER => [
"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/v1/scim/Users/{id}?token="
payload := strings.NewReader("{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
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.put("https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=")
.header("Content-Type", "application/json")
.body("{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}"
response = http.request(request)
puts response.read_body{
"id": "john.doe@example.com",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "john.doe@example.com",
"active": true,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "user@example.com"
}
],
"externalId": "ext-001",
"meta": {
"created": "2026-01-15T10:00:00.000Z",
"lastModified": "2026-02-20T14:30:00.000Z",
"location": "/Users/john.doe@example.com",
"resourceType": "User"
},
"phoneNumbers": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "user@example.com"
}
],
"title": "Software Engineer"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"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"
}Replace a SCIM account
PUT /scim/Users/{id}
Takes the full representation of an account and brings the one held here into line with it, as described in RFC 7644 Section 3.5.1. It is what a provisioning client that resends the whole person on every change uses; to send only what changed, use PATCH /scim/Users/{id} instead.
What can actually be set is the name to show the person by, their job title, their telephone number and whether they are active. The account’s own name and the address it is reached at are settled when it is opened and stay as they are, so a representation carrying different ones - which is what Azure Entra ID always sends - goes through with those parts left alone. An attribute left out entirely is left alone as well, rather than being cleared.
Whichever way it arrives, the account is marked as provisioned through SCIM from then on, and the platform’s own administration will no longer change the attributes this service owns.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
Required user role: admin or organization_admin
curl --request PUT \
--url 'https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=' \
--header 'Content-Type: application/json' \
--data '
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "john.doe@example.com",
"active": true,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "<string>"
}
],
"externalId": "ext-001",
"phoneNumbers": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "<string>"
}
],
"title": "Software Engineer"
}
'import requests
url = "https://sandbox.circularo.com/api/v1/scim/Users/{id}?token="
payload = {
"schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
"userName": "john.doe@example.com",
"active": True,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": True,
"type": "work",
"value": "<string>"
}
],
"externalId": "ext-001",
"phoneNumbers": [
{
"display": "<string>",
"primary": True,
"type": "work",
"value": "<string>"
}
],
"title": "Software Engineer"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
schemas: ['urn:ietf:params:scim:schemas:core:2.0:User'],
userName: 'john.doe@example.com',
active: true,
displayName: 'John Doe',
emails: [{display: '<string>', primary: true, type: 'work', value: '<string>'}],
externalId: 'ext-001',
phoneNumbers: [{display: '<string>', primary: true, type: 'work', value: '<string>'}],
title: 'Software Engineer'
})
};
fetch('https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=', 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/v1/scim/Users/{id}?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'schemas' => [
'urn:ietf:params:scim:schemas:core:2.0:User'
],
'userName' => 'john.doe@example.com',
'active' => true,
'displayName' => 'John Doe',
'emails' => [
[
'display' => '<string>',
'primary' => true,
'type' => 'work',
'value' => '<string>'
]
],
'externalId' => 'ext-001',
'phoneNumbers' => [
[
'display' => '<string>',
'primary' => true,
'type' => 'work',
'value' => '<string>'
]
],
'title' => 'Software Engineer'
]),
CURLOPT_HTTPHEADER => [
"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/v1/scim/Users/{id}?token="
payload := strings.NewReader("{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
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.put("https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=")
.header("Content-Type", "application/json")
.body("{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Users/{id}?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\"\n ],\n \"userName\": \"john.doe@example.com\",\n \"active\": true,\n \"displayName\": \"John Doe\",\n \"emails\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"externalId\": \"ext-001\",\n \"phoneNumbers\": [\n {\n \"display\": \"<string>\",\n \"primary\": true,\n \"type\": \"work\",\n \"value\": \"<string>\"\n }\n ],\n \"title\": \"Software Engineer\"\n}"
response = http.request(request)
puts response.read_body{
"id": "john.doe@example.com",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "john.doe@example.com",
"active": true,
"displayName": "John Doe",
"emails": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "user@example.com"
}
],
"externalId": "ext-001",
"meta": {
"created": "2026-01-15T10:00:00.000Z",
"lastModified": "2026-02-20T14:30:00.000Z",
"location": "/Users/john.doe@example.com",
"resourceType": "User"
},
"phoneNumbers": [
{
"display": "<string>",
"primary": true,
"type": "work",
"value": "user@example.com"
}
],
"title": "Software Engineer"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"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"
}Authorizations
Path Parameters
Body
Whether the account is to stay usable. Turning it off suspends the person; turning it back on returns a suspended person to work. The strings true and false are accepted in place of a boolean, in any casing, because Azure Entra ID sends its booleans as strings unless the aadOptscim062020 flag is switched on for the tenant.
true
Response
Returns the account as it now stands.