---
title: "Delete View Portion"
method: DELETE
path: "/{databaseId}/viewportions/"
tags: ["User-Item Interactions"]
---

# Delete View Portion

`DELETE /{databaseId}/viewportions/`

Deletes an existing view portion specified by (`userId`, `itemId`, `sessionId`) from the database.

## Path parameters

- `databaseId` string, required

## Query parameters

- `userId` string, required
- `itemId` string, required
- `sessionId` string

## Response `200`

Successful operation.

## Other responses

- `400` — Given `userId`, `itemId` or `sessionId` does not match ^[a-zA-Z0-9_\-:@\.]+$.
- `404` — The `userId`, `itemId` or view portion with the given (`userId`, `itemId`, `sessionId`) not found in the database. If there is no additional info in the JSON response, you probably have an error in your URL.

---

[API](https://skmtc.dev/recombee/apis/recombee-api.md) · [All operations](https://skmtc.dev/recombee/apis/recombee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recombee/recombee-api/revisions/a9c9c33eb2e8/schema)
