getUser

Gets a user.


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/users/<_id>
Method: GET

Other protocols

Copied to clipboard!
{
  "controller": "security",
  "action": "getUser",
  "_id": "<kuid>"
}

Arguments


Response

Returns the user information:

  • _id: user kuid
  • _source: user description
Copied to clipboard!
{
  "status": 200,
  "error": null,
  "controller": "security",
  "action": "getUser",
  "requestId": "<unique request identifier>",
  "result": {
    "_id": "<kuid>",
    "_source": {
      "profileIds": ["<profileId>"]
    }
  }
}