Create or update roles

Base URL
https://{kibana_url}
  • POST /api/security/roles
Version 8.19 Latest: v9 Auth

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

roles map string to object required
property name* additional property object
description string · max length: 2048

A description for the role.

elasticsearch object required
cluster string[]
run_as string[]
metadata map string to object

Responses

200

Indicates a successful call.

Base URL
https://{kibana_url}