List the SCIM schemas
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/scim/Schemas?token='import requests
url = "https://sandbox.circularo.com/api/v1/scim/Schemas?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/scim/Schemas?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/Schemas?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v1/scim/Schemas?token="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v1/scim/Schemas?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Schemas?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 2,
"itemsPerPage": 20,
"Resources": [
{
"attributes": [
{
"name": "value",
"type": "string",
"canonicalValues": [
"work",
"home",
"other"
],
"caseExact": false,
"description": "<string>",
"multiValued": false,
"mutability": "readWrite",
"referenceTypes": [
"User",
"Group"
],
"required": false,
"returned": "default",
"subAttributes": [
{
"name": "value",
"type": "string",
"canonicalValues": [
"work",
"home",
"other"
],
"caseExact": false,
"description": "<string>",
"multiValued": false,
"mutability": "readWrite",
"referenceTypes": [
"User",
"Group"
],
"required": false,
"returned": "default",
"uniqueness": "none"
}
],
"uniqueness": "none"
}
],
"id": "urn:ietf:params:scim:schemas:core:2.0:User",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Schema"
],
"description": "User Account",
"meta": {
"location": "/urn:ietf:params:scim:schemas:core:2.0:User",
"resourceType": "Schema"
},
"name": "User"
}
],
"startIndex": 1
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}SCIM
List the SCIM schemas
GET /scim/Schemas
Returns the attribute definitions of every resource this service provisions, as described in RFC 7643 Section 7. A provisioning client reads them to learn which attributes it may send and how each of them behaves.
They describe this service as it really is rather than the specification in full: the User schema is cut down to the attributes the platform stores, and userName and emails are declared immutable there, because both identify the account and neither can be changed once it exists.
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
List the SCIM schemas
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/scim/Schemas?token='import requests
url = "https://sandbox.circularo.com/api/v1/scim/Schemas?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/scim/Schemas?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/Schemas?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v1/scim/Schemas?token="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v1/scim/Schemas?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/scim/Schemas?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 2,
"itemsPerPage": 20,
"Resources": [
{
"attributes": [
{
"name": "value",
"type": "string",
"canonicalValues": [
"work",
"home",
"other"
],
"caseExact": false,
"description": "<string>",
"multiValued": false,
"mutability": "readWrite",
"referenceTypes": [
"User",
"Group"
],
"required": false,
"returned": "default",
"subAttributes": [
{
"name": "value",
"type": "string",
"canonicalValues": [
"work",
"home",
"other"
],
"caseExact": false,
"description": "<string>",
"multiValued": false,
"mutability": "readWrite",
"referenceTypes": [
"User",
"Group"
],
"required": false,
"returned": "default",
"uniqueness": "none"
}
],
"uniqueness": "none"
}
],
"id": "urn:ietf:params:scim:schemas:core:2.0:User",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Schema"
],
"description": "User Account",
"meta": {
"location": "/urn:ietf:params:scim:schemas:core:2.0:User",
"resourceType": "Schema"
},
"name": "User"
}
],
"startIndex": 1
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Response
Returns the schemas of every provisioned resource.