updateRoleMapping

Updates the internal role storage mapping.


Query Syntax

HTTP

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

Other protocols

Copied to clipboard!
{
  "controller": "security",
  "action": "updateRoleMapping",
  "body": {
    "properties": {
      // mapping
    }
  }
}

Body properties


Response

Returns an acknowledgement.

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "action": "updateRoleMapping",
  "controller": "security",
  "requestId": "<unique request identifier>",
  "result": {
    "acknowledged": true
  },
}