Authz
List Attributes
This endpoint receives a source object ID and target object ID. It returns a list of attributes that the source object has on the target object.
Query Parameters
source_object_id?string
Optional - allows filtering to a particular source object ID
target_object_id?string
Optional - allows filtering to a particular target object ID
Response Body
curl -X GET "https://your-tenant-name.tenant.userclouds.com/authz/listattributes?source_object_id=string&target_object_id=string"
fetch("https://your-tenant-name.tenant.userclouds.com/authz/listattributes?source_object_id=string&target_object_id=string")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/authz/listattributes?source_object_id=string&target_object_id=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/listattributes?source_object_id=string&target_object_id=string"
response = requests.request("GET", url)
print(response.text)
[
"string"
]
Empty
Empty
Empty
Empty