This software is not currently supported by Amazon Mechanical Turk The Amazon Mechanical Turk Command Line Tools (CLT) are not currently
maintained by Amazon Mechanical Turk. If you would still like to use
Amazon Mechanical Turk from the command line, use the |
resetAccount
Description
The resetAccount
command deletes all of your existing HITs from Amazon
Amazon Mechanical Turk. If Workers are still working on a HIT, it is not deleted. Amazon Mechanical Turk approves
any assignments that are submitted but not yet approved.
arguments
The following table describes the arguments for the resetAccount
command.
Name | Description | Required |
---|---|---|
|
Specifies not to prompt for manual confirmation before performing the operation. Only advanced developers should use this argument. Example: |
No |
|
Displays the help for this operation. Example: |
No |
|
Runs this command in the Amazon Mechanical Turk sandbox. This argument takes precedence
even if you specify the production web site in your
Example: |
No |
Example
The following examples for Unix and Windows show how to use the resetAccount
command.
Unix
The following example demonstrates how to call this command from Unix.
./resetAccount.sh
Windows
The following example demonstrates how to call this command from Microsoft Windows.
resetAccount
Output
These examples produce output similar to the following.
PLEASE READ THIS CAREFULLY You are about to delete ALL your HITs from Amazon Mechanical Turk. To confirm this operation, please press ENTER (or press Ctrl+C to abort): --- Starting to reset account (10 HITs) --- [2AQZM8YF9BTZYSHPKX30] Successfully deleted HIT (1/10) [4AQZPBYWF1NZNBGZMGZZ] Successfully deleted HIT (2/10) [2XAZ439GBWGZ57M0KX80] Successfully deleted HIT (3/10) [4SPZGWZ41XDZS9YGTXM0] Successfully deleted HIT (4/10) [4YKZ528SWH0TQTZ0JRPZ] Successfully deleted HIT (5/10) [4WYZWAYD7AYJSCYT6J70] Successfully deleted HIT (6/10) [38QGWV8SW2SZ3TY0KY5Z] Successfully deleted HIT (7/10) [4XTZGSX1PR1ZGRSTCY0Z] Successfully deleted HIT (8/10) [5WGMVNYC9RC6Q8W8K9WZ] Successfully deleted HIT (9/10) --- Finished to reset account --- 9 HITs have been deleted or were deleted previously. 0 HITs failed to delete. 1 HITs could not be deleted because they are currently being worked on. 1 HITs are left in your account