---
title: "POST /v2/{+parent}/logicalViews"
method: POST
path: "/v2/{+parent}/logicalViews"
tags: ["projects"]
---

# POST /v2/{+parent}/logicalViews

`POST /v2/{+parent}/logicalViews`

Creates a logical view within an instance.

## Path parameters

- `parent` string, required

## Query parameters

- `logicalViewId` string

## Request body

- LogicalView — A SQL logical view object that can be referenced in SQL queries.
  - `query` string — Required. The logical view's select query.
  - `etag` string — Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
  - `deletionProtection` boolean — Optional. Set to true to make the LogicalView protected against deletion.
  - `name` string — Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/bigtableadmin.md) · [All operations](https://skmtc.net/google/apis/bigtableadmin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/bigtableadmin/versions/d59c83bbbf1e/schema)
