destroyMute abstract method

Future<TwitterResponse<MuteStateData, void>> destroyMute({
  1. required String userId,
  2. required String targetUserId,

Allows an authenticated user ID to unmute the target user.

The request succeeds with no action when the user sends a request to a user they're not muting or have already unmuted.


  • userId: The user ID who you would like to initiate an unmute on behalf of. The user’s ID must correspond to the user ID of the authenticating user, meaning that you must pass the Access Tokens associated with the user ID when authenticating your request.

  • targetUserId: The user ID of the user that you would like the userId to unmute.

Endpoint Url

Authentication Methods

  • OAuth 2.0 Authorization Code with PKCE
  • OAuth 1.0a

Required Scopes

  • mute.write

Rate Limits

  • User rate limit (OAuth 2.0 user Access Token): 50 requests per 15-minute window per each authenticated user



Future<TwitterResponse<MuteStateData, void>> destroyMute(
    {required String userId, required String targetUserId});