Destroys the direct message specified in the required ID parameter.
The authenticating user must be the recipient of the specified direct message.

@param array $parameters
@param bool $multipart
@param bool $appOnlyAuth
177593
public function postDirectMessagesDestroy(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('direct_messages/destroy', $parameters, $multipart, $appOnlyAuth);
    }
261945
def destroy
      # TODO: resolve the fact that there may be more than one for the same
      # provider.  either disallow multiple, or select the correct one.
      auth = Corkboard::Authorization.find_by_provider(params[:provider])
      auth.destroy if auth
      Corkboard.clear_all!

      redirect_to(authorizations_path)
    end
212766
function changeAuthPassword($user, $password, $multicall = false)
    {
        if (!is_string($user) || !isset(self::$levels[$user])) {
            throw new InvalidArgumentException('user = ' . print_r($user, true));
        }
        if (!is_string($password)) {
            throw new InvalidArgumentException('password = ' . print_r($password, true));
        }

        return $this->execute(ucfirst(__FUNCTION__), array($user, $password), $multicall);
    }
393549
public function unfollow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->postFriendshipsDestroy($parameters, $multipart, $appOnlyAuth);
    }
755541
public function getApplicationRateLimitStatus(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get("application/race_limit_status", $parameters, $multipart, $appOnlyAuth);
    }
661073
function DeleteMultipartUpload(fileUpload) {
            fileUpload.info('will attempt to abort the upload');

            fileUpload.abortParts();

            var request = {
                method: 'DELETE',
                path: '?uploadId=' + fileUpload.uploadId,
                x_amz_headers: fileUpload.xAmzHeadersCommon,
                success404: true,
                step: 'abort'
            };

            SignedS3AWSRequest.call(this, fileUpload, request);
        }
406737
function delete_dm( $did )
	{
		$this->id_format($did);
		$params = array();
		$params['id'] = $did;
		return $this->oauth->post('direct_messages/destroy', $params);
	}
898437
public function deleteAccount(IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('deleteAccount', array($params), "IdentityToolkit_DeleteAccountResponse");
  }
1354801
public function getStatusesHomeTimeline(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('statuses/home_timeline', $parameters, $multipart, $appOnlyAuth);
    }
953420
public function getStatusesRetweets($id, array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get("statuses/retweets/{$id}", $parameters, $multipart, $appOnlyAuth);
    }
629063
public static function listAllCashOnDeliveryPaymentsAsync(array $parameters = [])
    {
        return self::listAllCashOnDeliveryPaymentsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
932007
public function upload($status, $media, array $parameters = array(), $appOnlyAuth = false)
    {
        $data = array('status' => $status, 'media[]' => $media) + $parameters;

        return $this->postStatusesUpdateWithMedia($data, $appOnlyAuth);
    }
722374
public function follow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->postFriendshipsCreate($parameters, $multipart, $appOnlyAuth);
    }
997351
public function UserDelete(AuthUserDeleteRequest $argument,
                               $metadata = [], $options = [])
    {
        return $this->_simpleRequest('/etcdserverpb.Auth/UserDelete',
            $argument,
            ['\Etcdserverpb\AuthUserDeleteResponse', 'decode'],
            $metadata, $options);
    }
902790
public function removeOAuthParameter($name)
    {
        if (!$this->hasOAuthParameter($name)) {
            throw new \InvalidArgumentException(sprintf('The OAuth request parameter "%s" does not exist.', $name));
        }

        unset($this->oauthParameters[rawurlencode($name)]);
    }
547265
public function tweet($status, array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        $data = compact('status') + $parameters;

        return $this->postStatusesUpdate($data, $multipart, $appOnlyAuth);
    }
1202625
function disconnectFakePlayer($login, $multicall = false)
    {
        if (!is_string($login)) {
            throw new InvalidArgumentException('login = ' . print_r($login, true));
        }

        return $this->execute(ucfirst(__FUNCTION__), array($login), $multicall);
    }