﻿---
title: stack kb roles cli namespace
description: Kibana roles API commands 
url: https://www.elastic.co/elastic/docs-builder/docs/4083/reference/elastic-cli/cli/stack/kb/roles
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb roles cli namespace
```bash
elastic stack kb roles --help
```

Kibana roles API commands

## Commands

<page-card>
  Get all roles
</page-card>

<page-card>
  Delete a role
</page-card>

<page-card>
  Get a role
</page-card>

<page-card>
  Create or update a role
</page-card>

<page-card>
  Create or update roles
</page-card>