Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 858 Bytes

File metadata and controls

71 lines (52 loc) · 858 Bytes
code type title
true
page
updateUserMapping | API | Core

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 the updated mappings.

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