Core
API v2.x
2

updateProfileMapping #

Updates the internal profile storage mapping.


Query Syntax #

HTTP #

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

Other protocols #

{
  "controller": "security",
  "action": "updateProfileMapping",
  "body": {
    "properties": {
      // mapping
    }
  }
}

Body properties #


Response #

Returns the updated mappings.

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