> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateRoleRequest

> CreateRoleRequest — Kinetica JavaScript API

interface CreateRoleRequest \{\
&#x20;[name](#name): string;\
&#x20;[options](#options)?: Record\<string, string>;\
}

<ul>
  <li>Defined in [src/types.ts:1840](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1840)</li>
</ul>

##### Index

### Properties

[name](#name) [options?](#options)&#x20;

## Properties

### name

name: string

Name of the role to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role.

<ul>
  <li>Defined in [src/types.ts:1842](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1842)</li>
</ul>

### `Optional`options

options?: Record\<string, string>

Optional parameters.

<ul>
  <li>Defined in [src/types.ts:1844](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L1844)</li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.