PUT
/2/lists/{id}
curl \
-X PUT https://api.twitter.com/2/lists/1146654567674912769 \
-H "Authorization: Oauth $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string","private":true}'
Request example
{
"name": "string",
"description": "string",
"private": true
}
Request examples
{
"name": "string",
"description": "string",
"private": true
}
Response examples (200)
{
"data": {
"updated": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (200)
{
"data": {
"updated": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (default)
{
"code": 42,
"message": "string"
}
Response examples (default)
{
"code": 42,
"message": "string"
}