SocialRequest.ClearParameter
----------------------------

Clears the parameter list for this request.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Social](component_Social.md) | [5.3](newinversion53.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "SocialRequest.ClearParameter"; Request ) 

**MBS**( **"SocialRequest.ClearParameter";** /\* Clears the parameter list for this request. \*/  
**$Request**) /\* The reference number for the social request as you got it from [SocialRequest.New](SocialRequestNew.md) function. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Request | The reference number for the social request as you got it from [SocialRequest.New](SocialRequestNew.md) function. | $request |

### Result

Returns OK or error.

### Description

Clears the parameter list for this request.  
### Examples

Test parameters:

 Set Variable \[ $request ; Value: MBS ( "[SocialRequest.New](SocialRequestNew.md)"; "Twitter"; "https://api.twitter.com/1.1 /statuses/update.json"; "POST") \]   
Show Custom Dialog \[ "URL" ; MBS ( "[SocialRequest.GetParameterCount](SocialRequestGetParameterCount.md)"; $Request ) \]   
Set Variable \[ $r ; Value: MBS ( "[SocialRequest.AddParameter](SocialRequestAddParameter.md)"; $request ; "test"; "value") \]   
Show Custom Dialog \[ "URL" ; MBS ( "[SocialRequest.GetParameterCount](SocialRequestGetParameterCount.md)"; $Request ) \]   
Set Variable \[ $r ; Value: MBS ( "SocialRequest.ClearParameter"; $request ) \]   
Show Custom Dialog \[ "URL" ; MBS ( "[SocialRequest.GetParameterCount](SocialRequestGetParameterCount.md)"; $Request ) \]   
Set Variable \[ $r ; Value: MBS ( "[SocialRequest.Release](SocialRequestRelease.md)"; $request ) \]  
### See also

- [SocialRequest.AddParameter](SocialRequestAddParameter.md)
- [SocialRequest.GetParameterCount](SocialRequestGetParameterCount.md)
- [SocialRequest.New](SocialRequestNew.md)
- [SocialRequest.Release](SocialRequestRelease.md)

This function is free to use.

Created 28th August 2015 , last changed 12nd June 2020

  
[SocialRequest.ClearMultipartData](SocialRequestClearMultipartData.md) - [SocialRequest.GetAccount](SocialRequestGetAccount.md)

[HTML Version](SocialRequestClearParameter.shtml)