---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints

`POST /v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints`

## Request

- Base URL: `https://aiplatform.googleapis.com`
- URL: `https://aiplatform.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/indexes/{indexesId}:removeDatapoints`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Remove Datapoints from an Index.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `indexesId` string, required

## Request body

- GoogleCloudAiplatformV1RemoveDatapointsRequest: Request message for IndexService.RemoveDatapoints
  - `datapointIds` string[]: A list of datapoint ids to be deleted.

## Response `200`

Successful response

- GoogleCloudAiplatformV1RemoveDatapointsResponse: Response message for IndexService.RemoveDatapoints

---

[API](https://skmtc.dev/google/apis/aiplatform.md) - [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/aiplatform/revisions/3aca3b348f0c?raw)
