Core
API v2.x
2

# updateUserMapping

Updates the internal user storage mapping.


# Query Syntax

# HTTP

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

# Other protocols

Copied to clipboard!
{
  "controller": "security",
  "action": "updateUserMapping",

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

# Body properties


# Response

Returns the updated mappings.

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