TypeScript
import { PeriskopeApi } from '@periskope/periskope-client'; const client = new PeriskopeApi({ authToken: 'YOUR_API_KEY', }); async function deleteMember() { const response = await client.members.delete({ id: 'test@example.com' }); console.log(response); } deleteMember();
{ "success": true, "message": "Member test@example.com deleted successfully" }
Delete a member by email address.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Email address of the member to delete
"test@example.com"
200 OK
Whether the member was deleted successfully
true
"Member test@example.com deleted successfully"
Was this page helpful?