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

# POST /v1/{+subscription}:acknowledge

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

Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

## Path parameters

- `subscription` string, required

## Request body

- AcknowledgeRequest — Request for the Acknowledge method.
  - `ackIds` string[] — Required. The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty.

## 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)
