curl --request PATCH \
--url 'https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=' \
--header 'Content-Type: application/json' \
--data '
{
"Operations": [
{
"path": "members",
"value": "<unknown>"
}
],
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
]
}
'import requests
url = "https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token="
payload = {
"Operations": [
{
"path": "members",
"value": "<unknown>"
}
],
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Operations: [{path: 'members', value: '<unknown>'}],
schemas: ['urn:ietf:params:scim:api:messages:2.0:PatchOp']
})
};
fetch('https://sandbox.circularo.com/api/v1/scim/Groups/{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/Groups/{id}?token=",
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([
'Operations' => [
[
'path' => 'members',
'value' => '<unknown>'
]
],
'schemas' => [
'urn:ietf:params:scim:api:messages:2.0:PatchOp'
]
]),
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/Groups/{id}?token="
payload := strings.NewReader("{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=")
.header("Content-Type", "application/json")
.body("{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"displayName": "Engineering",
"id": "b3c1f0a2-5d84-4f7e-9c1a-2f6d0e8b7a41",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"externalId": "ext-grp-001",
"members": [
{
"value": "john.doe@example.com",
"type": "User",
"description": "<unknown>",
"example": "<unknown>",
"display": "John Doe"
}
],
"meta": {
"created": "2026-01-15T10:00:00.000Z",
"lastModified": "2026-02-20T14:30:00.000Z",
"location": "/Groups/b3c1f0a2-5d84-4f7e-9c1a-2f6d0e8b7a41",
"resourceType": "Group"
}
}{
"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"
}{
"status": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 500,
"type": "SYSTEM:INTERNAL_ERROR",
"message": "Internal error",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Patch a SCIM group
PATCH /scim/Groups/{id}
Moves people in and out of a group, or renames it, without resending the whole group, following the patch message of RFC 7644 Section 3.5.2, and answers with the group as it then stands. It is how a provisioning client normally keeps membership in step.
The operations are applied to the group as it is held here, and the membership that comes out of them is then reconciled - so an addition puts somebody in, a removal takes them out, and neither touches anything else about their account. An operation naming an attribute this service does not keep is dropped rather than failing the whole request, and a request left with nothing to do after that changes nothing and simply returns the group.
The group is marked as provisioned through SCIM, after which the platform’s own administration will not rename or remove it.
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 PATCH \
--url 'https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=' \
--header 'Content-Type: application/json' \
--data '
{
"Operations": [
{
"path": "members",
"value": "<unknown>"
}
],
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
]
}
'import requests
url = "https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token="
payload = {
"Operations": [
{
"path": "members",
"value": "<unknown>"
}
],
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Operations: [{path: 'members', value: '<unknown>'}],
schemas: ['urn:ietf:params:scim:api:messages:2.0:PatchOp']
})
};
fetch('https://sandbox.circularo.com/api/v1/scim/Groups/{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/Groups/{id}?token=",
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([
'Operations' => [
[
'path' => 'members',
'value' => '<unknown>'
]
],
'schemas' => [
'urn:ietf:params:scim:api:messages:2.0:PatchOp'
]
]),
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/Groups/{id}?token="
payload := strings.NewReader("{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=")
.header("Content-Type", "application/json")
.body("{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Groups/{id}?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"Operations\": [\n {\n \"path\": \"members\",\n \"value\": \"<unknown>\"\n }\n ],\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"displayName": "Engineering",
"id": "b3c1f0a2-5d84-4f7e-9c1a-2f6d0e8b7a41",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"externalId": "ext-grp-001",
"members": [
{
"value": "john.doe@example.com",
"type": "User",
"description": "<unknown>",
"example": "<unknown>",
"display": "John Doe"
}
],
"meta": {
"created": "2026-01-15T10:00:00.000Z",
"lastModified": "2026-02-20T14:30:00.000Z",
"location": "/Groups/b3c1f0a2-5d84-4f7e-9c1a-2f6d0e8b7a41",
"resourceType": "Group"
}
}{
"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"
}{
"status": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 500,
"type": "SYSTEM:INTERNAL_ERROR",
"message": "Internal error",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Path Parameters
Body
Response
Returns the group as it now stands, with its members.