[egulu CLI reference](../index.md) / [egulu data-apis](index.md)

# egulu data-apis create

POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis

```sh
egulu data-apis create <NAME> [options]
```

## API operation

[DataApis_create](../../api/dataapi/DataApis_create.md): `POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis` (dataapi module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the dataApiId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--cluster` | value | yes | cluster |
| `--cors-origins` | value | no | corsOrigins: comma-separated, or @file with one item a line |
| `--database` | value | yes | database |
| `--display-name` | value | no | displayName |
| `--location` | value | yes | location |
| `--max-rows` | value | no | maxRows |
| `--project` | value | yes | project |
| `--statement-timeout-ms` | value | no | statementTimeoutMs |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
