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 UnblockWorker
operation 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 | Required |
---|---|---|
|
The name of the operation Type: String Valid Values: UnblockWorker Default: None |
Yes |
|
The ID of the Worker to unblock. Type: String Default: None |
Yes |
|
A message that explains the reason for unblocking the Worker. The Worker does not see this message. Type: String Default: None |
No |
A successful request for the UnblockWorker
operation returns
with no errors. The response includes the elements described in the following table. The
operation returns no other data.
Name | Description |
---|---|
|
Contains a |
The following example shows how to use the UnblockWorker
operation.
The following example 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=2008-08-02 &Operation=UnblockWorker &Signature=[signature for this request]
&Timestamp=[your system's local time]
&WorkerId=AZ3456EXAMPLE
The following is an example response.
<UnblockWorkerResult> <Request> <IsValid>True</IsValid> </Request> </UnblockWorkerResult>