Retrieve a single ACL
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/acls/{id}?token='import requests
url = "https://sandbox.circularo.com/api/v1/acls/{id}?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/acls/{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/acls/{id}?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/acls/{id}?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/acls/{id}?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/acls/{id}?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{
"allowedForOrganization": true,
"description": "Advanced reporting features.",
"feature": false,
"groups": [
{
"_id": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"acl": [
"business_user",
"advanced_reports"
],
"createType": "scim",
"description": "Users with administrative rights for the organization",
"displayName": [
{
"language": "en",
"value": "Organization Administrators"
},
{
"language": "es",
"value": "Administradores de la Organización"
}
],
"edition": "business",
"name": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"organization": "d1b33e20-715e-441d-145c-a0796122b6e0",
"organizationGroups": {
"admin": "e378ef19-3c07-4105-91db-2593b6a443a5",
"prepare": "a1c03148-9473-4ae3-95ed-e9b4acc414f0",
"read": "2d884a07-e21e-4773-89db-ebc3c9399b90",
"sign": "54f88bff-234e-4da6-91c9-f7ab818d2898",
"user": "fe2f70e8-367e-4aa5-8ea3-81dd74d60914"
},
"subscription": "zufpYZUBmvIz_dFpis9r",
"type": [
"organization"
],
"version": 3
}
],
"id": "business_user",
"name": "business_user",
"requiredRight": "enable_controller",
"rights": [
{
"_id": "view_links",
"acls": [
"business_user"
],
"actionname": "create",
"allowedForOrganization": true,
"class": "document",
"definitionname": "d_default",
"description": "Right to view links between records.",
"group": "UI Feature",
"name": "view_links",
"version": 3,
"workflowname": "wf_archive"
}
],
"version": 4
}{
"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"
}ACLs
Retrieve a single ACL
GET /acls/{id}
Returns one ACL with the rights it carries and the groups that carry it, which is the full picture an administration screen needs to review or edit a permission set. An ACL is addressed by its name.
An organization administrator may read only ACLs marked as allowed for organizations, and their response is narrowed to the rights allowed for organizations and to the groups of their own organization.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
Required user rights: view_acls
Required user role: admin or organization_admin
Retrieve a single ACL
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/acls/{id}?token='import requests
url = "https://sandbox.circularo.com/api/v1/acls/{id}?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/acls/{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/acls/{id}?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/acls/{id}?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/acls/{id}?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/acls/{id}?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{
"allowedForOrganization": true,
"description": "Advanced reporting features.",
"feature": false,
"groups": [
{
"_id": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"acl": [
"business_user",
"advanced_reports"
],
"createType": "scim",
"description": "Users with administrative rights for the organization",
"displayName": [
{
"language": "en",
"value": "Organization Administrators"
},
{
"language": "es",
"value": "Administradores de la Organización"
}
],
"edition": "business",
"name": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"organization": "d1b33e20-715e-441d-145c-a0796122b6e0",
"organizationGroups": {
"admin": "e378ef19-3c07-4105-91db-2593b6a443a5",
"prepare": "a1c03148-9473-4ae3-95ed-e9b4acc414f0",
"read": "2d884a07-e21e-4773-89db-ebc3c9399b90",
"sign": "54f88bff-234e-4da6-91c9-f7ab818d2898",
"user": "fe2f70e8-367e-4aa5-8ea3-81dd74d60914"
},
"subscription": "zufpYZUBmvIz_dFpis9r",
"type": [
"organization"
],
"version": 3
}
],
"id": "business_user",
"name": "business_user",
"requiredRight": "enable_controller",
"rights": [
{
"_id": "view_links",
"acls": [
"business_user"
],
"actionname": "create",
"allowedForOrganization": true,
"class": "document",
"definitionname": "d_default",
"description": "Right to view links between records.",
"group": "UI Feature",
"name": "view_links",
"version": 3,
"workflowname": "wf_archive"
}
],
"version": 4
}{
"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
Response
Returns the ACL together with the rights it carries and the groups that carry it.