Core
API v2.x
2

getUser #

Gets a user.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/users/<_id>
Method: GET

Other protocols #

{
  "controller": "security",
  "action": "getUser",
  "_id": "<kuid>"
}

Arguments #


Response #

Returns the user information:

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