UserClouds logo
Authz

List Objects Reachable with Attribute

This endpoint receives a source object ID and attribute. It returns a list of objects reachable from the source object with the attribute.

GET
/authz/listobjectsreachablewithattribute

Query Parameters

source_object_id?string

The source object from which you are searching for reachable target objects

target_object_type_id?string

Optional - allows filtering to a particular target object type

attribute?string

The permission through which target objects are considered reachable from the source object

Response Body

curl -X GET "https://your-tenant-name.tenant.userclouds.com/authz/listobjectsreachablewithattribute?source_object_id=string&target_object_type_id=string&attribute=string"
fetch("https://your-tenant-name.tenant.userclouds.com/authz/listobjectsreachablewithattribute?source_object_id=string&target_object_type_id=string&attribute=string")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/authz/listobjectsreachablewithattribute?source_object_id=string&target_object_type_id=string&attribute=string"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://your-tenant-name.tenant.userclouds.com/authz/listobjectsreachablewithattribute?source_object_id=string&target_object_type_id=string&attribute=string"

response = requests.request("GET", url)

print(response.text)
{
  "data": [
    "248df4b7-aa70-47b8-a036-33ac447e668d"
  ]
}
Empty
Empty
Empty