Unmute User by User ID

DELETE /2/users/{source_user_id}/muting/{target_user_id}

Causes the source user to unmute the target user. The source user must match the user context authorizing the request

Path parameters

  • source_user_id string Required

    The ID of the user that is requesting to unmute the target user

  • target_user_id string Required

    The ID of the user that the source user is requesting to unmute

Responses

  • 200

    The request was successful

    Hide response attributes Show response attributes object
    • data object
      Hide data attribute Show data attribute object
      • muting boolean
    • errors array[object]

      An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).

      At least 1 element.

      Hide errors attributes Show errors attributes array[object]
      • type string Required
      • title string Required
      • detail string
      • status integer
  • default

    The request has failed.

    Hide response attributes Show response attributes object
    • code integer(int32) Required
    • message string Required
DELETE /2/users/{source_user_id}/muting/{target_user_id}
curl \
 -X DELETE https://api.twitter.com/2/users/2244994945/muting/2244994945 \
 -H "Authorization: Oauth $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "muting": true
  },
  "errors": [
    {
      "type": "string",
      "title": "string",
      "detail": "string",
      "status": 42
    }
  ]
}
Response examples (200)
{
  "data": {
    "muting": true
  },
  "errors": [
    {
      "type": "string",
      "title": "string",
      "detail": "string",
      "status": 42
    }
  ]
}
Response examples (default)
{
  "code": 42,
  "message": "string"
}
Response examples (default)
{
  "code": 42,
  "message": "string"
}