---
title: "handleTermination rental_item_events"
method: POST
path: "/rentalitem/events/termination"
tags: ["rental_item_events"]
---

# handleTermination rental_item_events

`POST /rentalitem/events/termination`

Handle rental item termination events from PubSub

## Query parameters

- `token` string, required — Verification token sent as a query string

## Request body

- PubSubPayload4
  - `deliveryAttempt` integer — The number of times the service has attempted to deliver a message.
  - `message` MessagePayload
    - `attributes` object — Attributes of the message.
    - `data` string, required — Base64 data body.
    - `messageId` string — The message ID.
    - `orderingKey` string — The ordering key of the message.
    - `publishTime` string — The time at which the message was published.
  - `subscription` string — The subscription name.

## Response `200`

OK response.

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.

## Changes

- **2026-08-14** `fc745e434b3e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/topi/apis/topi-public-api/changes/rentalitem/events/termination/post.md)

---

[API](https://skmtc.dev/topi/apis/topi-public-api.md) · [All operations](https://skmtc.dev/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/topi/apis/topi-public-api/revisions/52c117345c52?raw)
