The UnblockWorker operation allows you to reinstate a
blocked Worker to work on your HITs. This operation reverses the effects of the
BlockWorker operation.
You need the Worker ID to use this operation. If the Worker ID is missing or invalid, this operation fails and returns the message “WorkerId is invalid.” If the specified Worker is not blocked, this operation returns successfully.
The following example of a call to the UnblockWorker operation
unblocks a Worker and allows that Worker to work on your HITs.
http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester &AWSAccessKeyId=[the Requester's Access Key ID]&Version=2007-06-21 &Operation=UnblockWorker &Signature=[signature for this request]&Timestamp=[your system's local time]&WorkerId=AZ3456EXAMPLE
A request to the Mechanical Turk Service includes parameters that control its behavior and the data it returns. Required parameters must be included for the request to succeed.
UnblockWorker accepts parameters common to all
operations. Some common parameters are required. See
Common Parameters
for more information.
The following parameters are specific to the
UnblockWorker operation:
| Name | Description | Type | Value |
|---|---|---|---|
Operation
|
The operation you want to call. To access the
UnblockWorker operation, set the
Operation parameter to
UnblockWorker.
| Required |
UnblockWorker
|
WorkerId
| The ID of the Worker to unblock. | Required | A valid Worker ID |
Reason
| A message explaining the reason for unblocking the Worker. The Worker does not see this message. | Optional | A string |