Create or update a role

Server: https://{kibana_url}
  • PUT /api/security/role/{name}

Create a new Kibana role or update the attributes of an existing role. Kibana roles are stored in the Elasticsearch native realm.

Path Parameters

name string · min: 1 · max: 1024 required

The role name.

Query Parameters

createOnly boolean · default: false

When true, a role is not overwritten if it already exists.

Response

204

Indicates a successful call.