DELETE /2/lists/:id/members/:user_id
DELETE /2/lists/:id/members/:user_id
Enables the authenticated user to remove a member from a List they own.
Endpoint URL
https://api.x.com/2/lists/:id/members/:user_id
Authentication and rate limits
Authentication methods supported by this endpoint | OAuth 1.0a is also available for this endpoint. |
---|---|
Rate limit | User rate limit (User context): 300 requests per 15-minute window per each authenticated user |
OAuth 2.0 scopes required by this endpoint
|
Learn more about OAuth 2.0 Authorization Code with PKCE |
Path parameters
Name | Type | Description |
---|---|---|
id Required | string | The ID of the List you are removing a member from. |
user_id Required | string | The ID of the user you wish to remove as a member of the List. |
Example code with offical SDKs
TypeScript
Java
Example responses
Successful response
Response fields
Name | Type | Description |
---|---|---|
is_member | boolean | Indicates whether the member specified in the request has been removed from the List. |