UserClouds logo
Authz/Objects/Id

Get Object

This endpoint gets an object by ID. If the ID provided is that of a User in the IDP, it returns an object representing the user.

GET
/authz/objects/{id}

Path Parameters

idstring
Formatuuid

Response Body

curl -X GET "https://your-tenant-name.tenant.userclouds.com/authz/objects/248df4b7-aa70-47b8-a036-33ac447e668d"
fetch("https://your-tenant-name.tenant.userclouds.com/authz/objects/248df4b7-aa70-47b8-a036-33ac447e668d")
package main

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

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/authz/objects/248df4b7-aa70-47b8-a036-33ac447e668d"

  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/objects/248df4b7-aa70-47b8-a036-33ac447e668d"

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

print(response.text)
{
  "alias": "string",
  "created": "2019-08-24T14:15:22Z",
  "deleted": "2019-08-24T14:15:22Z",
  "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "type_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
  "updated": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty