# TopicSubscriptions_extendLease

**State:** Alpha  
**Module:** [events](index.md)

```http
POST /v1/projects/{project}/locations/{location}/topicSubscriptions/{topicSubscription}:extendLease
```

| Property | Value |
|---|---|
| Permission | `messaging.topicSubscriptions.pull` |
| Risk | R1 |
| Lifecycle | alpha |
| Request body | yes |
| Agent tool | yes |

## Parameters

| Name | In | Required | Type |
|---|---|---|---|
| `project` | path | yes | string |
| `location` | path | yes | string |
| `topicSubscription` | path | yes | string |

## Responses

`200`, `400`, `401`, `402`, `403`, `404`, `409`, `412`, `422`, `429`, `451`, `500`, `501`, `503`, `504`

An error is an `application/problem+json` body; its `code` is one of the [problem codes](../problems/index.md).

## CLI

```sh
egulu topic-subscriptions extend-lease
```
