1. Docs
  2. API Reference
  3. PreviewPersonDto

PreviewPersonDto

Example

JSON
{
  "identity": {
    "id": "string",
    "first_name": "string",
    "last_name": "string",
    "name": "string",
    "email": "string",
    "avatar_url": "string"
  },
  "gained": [
    "string"
  ],
  "lost": [
    "string"
  ],
  "via": [
    {
      "role": {
        "id": "string",
        "name": "string"
      },
      "node": {
        "id": "string",
        "name": "string"
      }
    }
  ]
}

Properties

4 properties 2 required

identity AssignmentIdentityDto Required
gained array of string Optional

Keys the person gains (a move or a permissions preview)

lost array of string Optional

Keys the person loses (a move or a permissions preview)

via array of PreviewGrantDto Required

The grants that give the keys gained or gave the keys lost; on a delete preview, the person's assignments that go

Was this page helpful?

Tell us how we can improve this guide.