Remove Profile Banner

POST/tw-v2/profile/remove-banner

Description

Remove the banner from the authenticated X account. The response contains the updated profile with banner set to null.

This action does not preserve the current banner. Upload it again with the Update Profile Banner endpoint if you need to restore it.

Request Body

ParameterTypeRequiredDescription
authTokenstringrequiredAccount authentication token (auth_token cookie value)
proxystringoptionalOptional proxy in format 'hostname:port@username:password'

Code Examples

const response = await fetch('https://api.tweetapi.com/tw-v2/profile/remove-banner', {
  method: 'POST',
  headers: {
    'X-API-Key': 'YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ authToken: 'YOUR_AUTH_TOKEN' })
});

const data = await response.json();
console.log(data);

Response

Success Response (200 OK)

200
{
  "data": {
    "id": "10017528",
    "username": "sample_user_96991",
    "name": "Sample User 96991",
    "bio": "Sample profile bio for Sample User 96991.",
    "location": null,
    "website": null,
    "avatar": "https://example.com/images/sample-avatar-96991.jpg",
    "banner": null,
    "verified": false,
    "isBlueVerified": true,
    "isProtected": false,
    "followerCount": 226995885,
    "followingCount": 1218,
    "tweetCount": 86745,
    "createdAt": "2009-06-02T20:12:29.000Z"
  }
}

API Playground

POST/tw-v2/profile/remove-banner

Sensitive Credentials Required

Requires your Twitter authToken. Use a test account.

Press ⌘ + Enter to execute

curl -X POST "https://api.tweetapi.com/tw-v2/profile/remove-banner" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

Click "Try It!" to see the response