curl --request GET \
--url https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{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://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"entityId": "<string>",
"entityType": "Account",
"id": "<string>",
"managedViaObjectId": "<string>",
"managedViaObjectType": "Account",
"objectMetadata": {
"ApplicationInstanceId": "<string>",
"GeneratedTime": "2023-11-07T05:31:56Z",
"Profile": "Account",
"ObjectOrRelationshipType": "<string>"
},
"globalEntityId": "<string>",
"globalEntityType": "Oleria_IntegratedApplication",
"globalId": "<string>",
"globalManagedViaObjectId": "<string>",
"globalManagedViaObjectType": "Oleria_IntegratedApplication",
"oleriaObjectMetadata": {
"enrichmentVersion": "<string>",
"generatedTime": "2023-11-07T05:31:56Z"
},
"federationSpecification": {
"isFederated": true,
"connectionType": "Source",
"sourceAuthenticationKey": "<string>",
"targetAuthenticationKey": "<string>"
},
"managementRole": "Sponsor"
}{
"code": "BAD_REQUEST",
"message": "The request was malformed."
}{
"code": "UNAUTHORIZED",
"message": "Missing or invalid authentication token."
}{
"code": "FORBIDDEN",
"message": "The token lacks the required scope."
}{
"code": "NOT_FOUND",
"message": "No resource with the given id."
}{
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry after the specified interval."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}Get
Returns a managed-via relationship by its global id. Requires the https://devx.{environment}.oleria.io/read scope.
curl --request GET \
--url https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{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://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://devx.{environment}.oleria.io/v1/entity-managed-via-object/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"entityId": "<string>",
"entityType": "Account",
"id": "<string>",
"managedViaObjectId": "<string>",
"managedViaObjectType": "Account",
"objectMetadata": {
"ApplicationInstanceId": "<string>",
"GeneratedTime": "2023-11-07T05:31:56Z",
"Profile": "Account",
"ObjectOrRelationshipType": "<string>"
},
"globalEntityId": "<string>",
"globalEntityType": "Oleria_IntegratedApplication",
"globalId": "<string>",
"globalManagedViaObjectId": "<string>",
"globalManagedViaObjectType": "Oleria_IntegratedApplication",
"oleriaObjectMetadata": {
"enrichmentVersion": "<string>",
"generatedTime": "2023-11-07T05:31:56Z"
},
"federationSpecification": {
"isFederated": true,
"connectionType": "Source",
"sourceAuthenticationKey": "<string>",
"targetAuthenticationKey": "<string>"
},
"managementRole": "Sponsor"
}{
"code": "BAD_REQUEST",
"message": "The request was malformed."
}{
"code": "UNAUTHORIZED",
"message": "Missing or invalid authentication token."
}{
"code": "FORBIDDEN",
"message": "The token lacks the required scope."
}{
"code": "NOT_FOUND",
"message": "No resource with the given id."
}{
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry after the specified interval."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}Authorizations
Scopes
Response
The managed-via relationship.
An Oleria EntityManagedViaObject relationship connects an entity (Oleria Account, Oleria Role, or Oleria UserGroup) to the Oleria ResourceInstance that also represents it in the graph, so that ownership and management of the entity can be expressed separately from the entity itself. Direction: entity to managed-via object. globalEntityId/Type identify the entity; globalManagedViaObjectId/Type identify the representing object.
An identifier (unique to the integrated or assigned application) of any object or entity represented in the Oleria system as well as any relationship or connection among entities when they are represented in Oleria. Oleria converts these identifiers to global ids so they can be unique in the context of the global system graph. The full list of Oleria objects or entities is defined by the object-type enumeration, and the full list of relationships or connections is defined by the relationship-type enumeration
1The enumerated list of all Oleria objects used to describe and manage any customer application's identity security. The definition of each object describes its usage
Account, AccountRole, Activity, Agent, AgentVersion, AssignedApplication, Authenticator, AuthenticatorEnrollment, Credential, Department, DirectoryProvider, Employee, IntegratedApplication, None, ObjectDirectory, PermissionSet, Person, ResourceClass, ResourceInstance, RiskDefinition, RiskViolation, Role, UserGroup "Account"
An identifier (unique to the integrated or assigned application) of any object or entity represented in the Oleria system as well as any relationship or connection among entities when they are represented in Oleria. Oleria converts these identifiers to global ids so they can be unique in the context of the global system graph. The full list of Oleria objects or entities is defined by the object-type enumeration, and the full list of relationships or connections is defined by the relationship-type enumeration
1An identifier (unique to the integrated or assigned application) of any object or entity represented in the Oleria system as well as any relationship or connection among entities when they are represented in Oleria. Oleria converts these identifiers to global ids so they can be unique in the context of the global system graph. The full list of Oleria objects or entities is defined by the object-type enumeration, and the full list of relationships or connections is defined by the relationship-type enumeration
1The enumerated list of all Oleria objects used to describe and manage any customer application's identity security. The definition of each object describes its usage
Account, AccountRole, Activity, Agent, AgentVersion, AssignedApplication, Authenticator, AuthenticatorEnrollment, Credential, Department, DirectoryProvider, Employee, IntegratedApplication, None, ObjectDirectory, PermissionSet, Person, ResourceClass, ResourceInstance, RiskDefinition, RiskViolation, Role, UserGroup "Account"
Object type of the entity. Expected values: Oleria Account, Oleria Role, Oleria UserGroup.
Oleria_Account, Oleria_AccountRole, Oleria_Activity, Oleria_Application, Oleria_ApplicationDeployment, Oleria_AssignedApplication, Oleria_Authenticator, Oleria_AuthenticatorEnrollment, Oleria_Credential, Oleria_Department, Oleria_DirectoryProvider, Oleria_DiscoveredApplication, Oleria_Employee, Oleria_IntegratedApplication, Oleria_ObjectDirectory, Oleria_Person, Oleria_ResourceClass, Oleria_ResourceInstance, Oleria_Role, Oleria_UserGroup "Oleria_IntegratedApplication"
Object type of the representing object. Expected value: Oleria ResourceInstance.
Oleria_Account, Oleria_AccountRole, Oleria_Activity, Oleria_Application, Oleria_ApplicationDeployment, Oleria_AssignedApplication, Oleria_Authenticator, Oleria_AuthenticatorEnrollment, Oleria_Credential, Oleria_Department, Oleria_DirectoryProvider, Oleria_DiscoveredApplication, Oleria_Employee, Oleria_IntegratedApplication, Oleria_ObjectDirectory, Oleria_Person, Oleria_ResourceClass, Oleria_ResourceInstance, Oleria_Role, Oleria_UserGroup "Oleria_IntegratedApplication"
The capacity in which the answerable party is answerable, where the source distinguishes capacities. Absence reads as Owner, which is the capacity this relationship carries when nothing narrows it. It has no meaning where the target is a ResourceInstance or ObjectDirectory, which administer rather than answer, and is left absent there
Approver, Manager, Owner, Publisher, Sponsor, Unavailable "Sponsor"
Was this page helpful?

