Reads the principal from a domain

GET /domains/{domainId}/principals/{principalId}

Parameters

Name Required Type Description
domainId true string
principalId true string
groups false string

Response

{
  "type": "object",
  "description": "Domain Principal",
  "properties": {
    "_doc": {
      "type": "string"
    },
    "_system": {
      "type": "object",
      "properties": {
        "modified_on": {
          "type": "timestamp"
        },
        "modified_by": {
          "type": "string"
        },
        "modified_by_principal_id": {
          "type": "string"
        },
        "modified_by_principal_domain_id": {
          "type": "string"
        },
        "created_on": {
          "type": "timestamp"
        },
        "created_by": {
          "type": "string"
        },
        "created_by_principal_id": {
          "type": "string"
        },
        "created_by_principal_domain_id": {
          "type": "string"
        }
      }
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "authorities": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Authority Key"
      }
    }
  },
  "extends": "document"
}