updateRoleMapping #
Updates the internal role storage mapping.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/roles/_mapping
Method: PUT
Body:
{
"properties": {
// mapping
}
}
Other protocols #
{
"controller": "security",
"action": "updateRoleMapping",
"body": {
"properties": {
// mapping
}
}
}
Body properties #
properties
: mapping definition using Elasticsearch mapping format
Response #
Returns the updated mappings.
{
"status": 200,
"error": null,
"action": "updateRoleMapping",
"controller": "security",
"requestId": "<unique request identifier>",
"result": {
// mappings
},
}
Edit this page on Github(opens new window)