OAuthUtility Delete Method Nemiro.OAuth
Performs a request using a DELETE method.

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public static RequestResult Delete(
	string endpoint = null,
	HttpParameterCollection parameters = null,
	HttpAuthorization authorization = null,
	NameValueCollection headers = null,
	AccessToken accessToken = null
)

Return Value

Type: RequestResult
Returns an instance of the RequestResult class, which contains the result of the request.
Exceptions

ExceptionCondition
ArgumentNullException
RequestException
ArgumentException

The exception occurs when the query parameters are specified at the same time authorization and accessToken.

Remarks

Can not be used simultaneously accessToken and authorization. Use only one of these parameters.

See Also