Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

updateUserMapping #

Updates the internal user storage mapping.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/users/_mapping
Method: PUT
Body:
{
  "properties": {
    // mapping
  }
}

Other protocols #

{
  "controller": "security",
  "action": "updateUserMapping",

  "body": {
    "properties": {
      // mapping
    }
  }
}

Body properties #


Response #

Returns an acknowledgement.

{
  "status": 200,
  "error": null,
  "action": "updateUserMapping",
  "controller": "security",
  "requestId": "<unique request identifier>",
  "result": {
    "acknowledged": true
  },
}