---
title: "POST /v1/{+subscription}:modifyAckDeadline"
method: POST
path: "/v1/{+subscription}:modifyAckDeadline"
tags: ["projects"]
---

# POST /v1/{+subscription}:modifyAckDeadline

`POST /v1/{+subscription}:modifyAckDeadline`

Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level `ackDeadlineSeconds` used for subsequent messages.

## Path parameters

- `subscription` string, required

## Request body

- ModifyAckDeadlineRequest — Request for the ModifyAckDeadline method.
  - `ackIds` string[] — Required. List of acknowledgment IDs.
  - `ackDeadlineSeconds` integer — Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).

## Response `200`

Successful response

---

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