Invites a user to a domain

POST /domains/{domainId}/principals/invite

Parameters

Name Required Type Description
domainId true string
id true string

Response

{
  "type": "object",
  "description": "Status of Operation (with ID)",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Indicates whether the operation succeeded or not"
    },
    "_doc": {
      "type": "string"
    }
  },
  "extends": "status"
}