UserClouds logo
Userstore/Config/Accessors

List Accessors

This endpoint lists all accessors in a tenant.

GET
/userstore/config/accessors

Query Parameters

starting_after?string

A cursor value after which the returned list will start

ending_before?string

A cursor value before which the returned list will end

limit?string

The maximum number of results to be returned per page

filter?string

A filter clause to use in the pagination query

sort_key?string

A comma-delimited list of field names to sort the returned results by - the last field name must be 'id'

sort_order?string

The order in which results should be sorted (ascending or descending)

version?string

The version of the API to be called

versioned?string

Optional - if versioned is true, endpoint will return all versions of each accessor in the response. Otherwise, only the latest version of each accessor will be returned.

Response Body

curl -X GET "https://your-tenant-name.tenant.userclouds.com/userstore/config/accessors?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string&versioned=string"
fetch("https://your-tenant-name.tenant.userclouds.com/userstore/config/accessors?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string&versioned=string")
package main

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

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/userstore/config/accessors?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string&versioned=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/userstore/config/accessors?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string&versioned=string"

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

print(response.text)
{
  "data": [
    {
      "access_policy": {
        "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
        "name": "string"
      },
      "are_column_access_policies_overridden": true,
      "columns": [
        {
          "column": {
            "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
            "name": "string"
          },
          "token_access_policy": {
            "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
            "name": "string"
          },
          "transformer": {
            "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
            "name": "string"
          }
        }
      ],
      "data_life_cycle_state": "",
      "description": "string",
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "is_audit_logged": true,
      "is_autogenerated": true,
      "is_system": true,
      "name": "string",
      "purposes": [
        {
          "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
          "name": "string"
        }
      ],
      "selector_config": {
        "where_clause": "{id} = ANY (?)"
      },
      "token_access_policy": {
        "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
        "name": "string"
      },
      "use_search_index": true,
      "version": 0
    }
  ],
  "has_next": true,
  "has_prev": true,
  "next": "string",
  "prev": null
}
Empty
Empty