MTurk / Client / delete_worker_block

delete_worker_block#

MTurk.Client.delete_worker_block(**kwargs)#

The DeleteWorkerBlock operation allows you to reinstate a blocked Worker to work on your HITs. This operation reverses the effects of the CreateWorkerBlock 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.

See also: AWS API Documentation

Request Syntax

response = client.delete_worker_block(
    WorkerId='string',
    Reason='string'
)
Parameters:
  • WorkerId (string) –

    [REQUIRED]

    The ID of the Worker to unblock.

  • Reason (string) – A message that explains the reason for unblocking the Worker. The Worker does not see this message.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions