destroyMember abstract method
Enables the authenticated user to remove a member from a List they own.
Parameters
-
listId
: The ID of the List you are removing a member from. -
userId
: The ID of the user you wish to remove as a member of the List.
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<MemberStateData, void>> destroyMember(
{required String listId, required String userId});