Aserto · Example Payload

Aserto Directory Examples

AuthorizationFine-Grained Access ControlRBACABACReBACPolicyOpen Policy AgentOPACloud-NativeSecurity

Aserto Directory Examples is an example object payload from Aserto, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

set_object_requestset_relation_requestcheck_requestcheck_responseget_object_response

Example Payload

Raw ↑
{
  "set_object_request": {
    "summary": "Create or update a user object in the directory",
    "value": {
      "object": {
        "type": "user",
        "id": "user-123",
        "display_name": "Jane Doe",
        "properties": {
          "email": "jane.doe@example.com",
          "department": "engineering"
        }
      }
    }
  },
  "set_relation_request": {
    "summary": "Assign a user as a member of a group",
    "value": {
      "relation": {
        "object_type": "group",
        "object_id": "group-engineers",
        "relation": "member",
        "subject_type": "user",
        "subject_id": "user-123"
      }
    }
  },
  "check_request": {
    "summary": "Check if a user has a permission on an object",
    "value": {
      "object_type": "resource",
      "object_id": "resource-456",
      "relation": "can_read",
      "subject_type": "user",
      "subject_id": "user-123",
      "trace": false
    }
  },
  "check_response": {
    "summary": "Permission check result",
    "value": {
      "check": true,
      "trace": []
    }
  },
  "get_object_response": {
    "summary": "Directory object response",
    "value": {
      "result": {
        "type": "user",
        "id": "user-123",
        "display_name": "Jane Doe",
        "properties": {
          "email": "jane.doe@example.com",
          "department": "engineering"
        },
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-06-01T08:15:00Z",
        "etag": "\"abc123\""
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/aserto-directory-examples"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.