Core
API v2.x
2

getRoleMapping #

Gets the mapping of the internal security roles collection.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/roles/_mapping
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "security",
  "action": "getRoleMapping"
}

Response #

Returns the internal profiles mapping, using Elasticsearch mapping format.

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