Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

UpdateExpirationForHIT - Amazon Mechanical Turk

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.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.