/v0/lists/:id/members (DELETE)
DELETE
/v0/lists/:id/members
const url = 'http://localhost:3000/v0/lists/:id/members';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"account_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:3000/v0/lists/:id/members \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "account_id": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body
Section titled “Request Body ” Media type application/json
object
account_id
required
string
Example generated
{ "account_id": "example"}Responses
Section titled “ Responses ”OK
You do not have permission to remove member to this list
Media type application/json
List not found
Media type application/json