View a markdown version of this page

UpdateExpirationForHIT - Amazon Mechanical Turk

Amazon Mechanical Turk will permanently close on September 30, 2026. For Workers and Requesters currently using the service, visit our Amazon Mechanical Turk help page to learn how you can prepare for this closure.

UpdateExpirationForHIT

Description

The UpdateExpirationForHIT operation allows you extend the expiration time of a HIT beyond is current expiration or expire a HIT immediately. You cannot shorten the expiration time so that you're not affecting Workers who have accepted your HIT.

To expire a HIT immediately, provide the value 0 or set ExpireAt to a time in the past.

Request Syntax

{ "HITId": String, "ExpireAt": Timestamp }

Request Parameters

The request accepts the following data in JSON format:

Name Description Required

HITId

The HIT to update.

Type: String

Yes

ExpireAt

The date and time at which you want the HIT to expire

Type: Timestamp

Yes

Response Elements

A successful request for the UpdateExpirationForHIT operation returns with no errors and an empty body.