Deleting Microtasks

If something changes within your application and you no longer need a microtask, you can delete it.

To delete a Microtask, you must know its ID number. Let's pretend that the ID number is 1234. You would make a request to the '/api/task/1234' endpoint using the DELETE request type.

PHP Curl Example
function HTTP_Delete($path, $api_token) {
	$headers = array('Accept: application/json', "Authorization: Bearer ".$api_token);

	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $path);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

	$result = curl_exec($ch);

	return json_decode($result);

$response = HTTP_Delete('', $api_token);