{ "opencollection": "1.0.0", "info": { "name": "Kibana APIs Actions roles API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "roles", "type": "folder" }, "items": [ { "info": { "name": "Get all roles", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/security/role", "params": [ { "name": "replaceDeprecatedPrivileges", "value": "", "type": "query", "description": "If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges." } ] }, "docs": "Get all roles" }, { "info": { "name": "Get a role", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/security/role/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "The role name." }, { "name": "replaceDeprecatedPrivileges", "value": "", "type": "query", "description": "If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges." } ] }, "docs": "Get a role" }, { "info": { "name": "Create or update a role", "type": "http" }, "http": { "method": "PUT", "url": "https://{kibana_url}/api/security/role/:name", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "The role name." }, { "name": "createOnly", "value": "", "type": "query", "description": "When true, a role is not overwritten if it already exists." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Kibana role or update the attributes of an existing role. Kibana roles are stored in the Elasticsearch native realm." }, { "info": { "name": "Delete a role", "type": "http" }, "http": { "method": "DELETE", "url": "https://{kibana_url}/api/security/role/:name", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path", "description": "The role name." } ] }, "docs": "Delete a role" }, { "info": { "name": "Create or update roles", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/security/roles", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update roles" } ] } ], "bundled": true }