destroyList abstract method
Enables the authenticated user to delete a List that they own.
Parameters
listId
: The ID of the List to be deleted.
Endpoint Url
Authentication Methods
- OAuth 2.0 Authorization Code with PKCE
- OAuth 1.0a
Required Scopes
- tweet.read
- users.read
- list.write
Rate Limits
- User rate limit (OAuth 2.0 user Access Token): 300 requests per 15-minute window per each authenticated user
Reference
Implementation
Future<TwitterResponse<DeleteStateData, void>> destroyList(
{required String listId});