Blocks the user specified as the authenticating user. Destroys a friendship to the blocked user if it exists.
| C# | Visual Basic |
public static TwitterResponse<TwitterUser> Create( OAuthTokens tokens, decimal userId )
Public Shared Function Create ( _ tokens As OAuthTokens, _ userId As Decimal _ ) As TwitterResponse(Of TwitterUser)
- tokens (OAuthTokens)
- The tokens.
- userId (Decimal)
- The user id.
The blocked user in the requested format when successful.