blockWorker - Amazon Mechanical Turk

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 mturk command in the AWS Command Line Interface (CLI). For more information, see the mturk section of the AWS CLI Command Reference .

 

blockWorker

Description

The blockWorker command blocks a Worker from working on your HITs.

Arguments

The following table describes the arguments for the blockWorker command.

Name Description Required

-help or -h

Displays the help for this operation.

Example: -help

No

-reason [string]

The reason why the Worker is being blocked. This reason is logged in our system for auditing purposes and can be used to determine if corrective action against the Worker is necessary. Enclose the reason string in quotation marks.

Example: -reason "After several warnings, the Worker continued to submit answers without reading the instructions carefully."

Yes

-sandbox

Runs this command in the Amazon Mechanical Turk sandbox for testing. This argument takes precedence even if you specify the production web site in your mturk.properties file.

Example:-sandbox

No

-workerid [Worker ID]

The ID of the Worker you want to block.

Example: -workerid A3C4G8DMXFG5PQ

Yes

Example

The following examples for Unix and Windows show how to use the blockWorker command.

Unix

The following example demonstrates how to call this command from Unix. You must write this command on a single line. It is divided into multiple lines in this example for readability.

./blockWorker.sh -workerid A3C4G8DMXFG5PQ -reason "After several warnings, the Worker continued to submit answers without reading the instructions carefully."

Windows

The following example demonstrates how to call this command from Microsoft Windows. You should write this command on a single line. It is divided into multiple lines in this example for readability.

blockWorker -workerid A3C4G8DMXFG5PQ -reason "After several warnings, the Worker continued to submit answers without reading the instructions carefully."

Output

These examples produce the following output.

Blocked A3C4G8DMXFG5PQ with reason: After several warnings, the Worker continued to submit answers without reading the instructions carefully.

Related Commands