code | type | title |
---|---|---|
true |
page |
updateUserMapping | API | Core |
Updates the internal user storage mapping.
URL: http://kuzzle:7512/users/_mapping
Method: PUT
Body:
{
"properties": {
// mapping
}
}
{
"controller": "security",
"action": "updateUserMapping",
"body": {
"properties": {
// mapping
}
}
}
properties
: mapping definition using Elasticsearch mapping format
Returns the updated mappings.
{
"status": 200,
"error": null,
"action": "updateUserMapping",
"controller": "security",
"requestId": "<unique request identifier>",
"result": {
// mappings
},
}