Overview
- Introduction
- Getting started
- Tools and libraries
- Migration guide
- What to build
- Fundamentals
Posts
- Search
- Post Counts
- Filtered Stream
- Timelines
- Post Lookup
- Bookmarks
- Manage Posts
- Reposts
- Quotes
- Hide replies
Users
- User Lookup
- Search
- Follows
- Mutes
- Blocks
Direct Messages
- Manage
- Lookup
- Blocks
Likes
Lists
- Lookup Lists
- Lookup List Posts
- Manage Lists
- List Members
- Pinned Lists
Spaces
- Introduction
- Spaces Lookup
- Search Spaces
Communities
- Communities Lookup
- Search Communities
Community Notes
Trends
- Trends
- Personalized Trends
Media
- Introduction
- Upload
- Metadata
Compliance
- Batch Compliance
- Compliance streams
Enterprise v2
- Engagement Metrics
- Account Activity
- Webhooks
- Volume Streams
Likes Streams
Manage Lists
Update List.
Update a List that you own.
PUT
/
2
/
lists
/
{id}
Copy
Ask AI
curl --request PUT \
--url https://api.twitter.com/2/lists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"name": "<string>",
"private": true
}'
Copy
Ask AI
{
"data": {
"updated": true
},
"errors": [
{
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the List to modify.
Example:
"1146654567674912769"
Body
application/json
Response
200
application/json
The request has succeeded.
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://api.twitter.com/2/lists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"name": "<string>",
"private": true
}'
Copy
Ask AI
{
"data": {
"updated": true
},
"errors": [
{
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.