English
Appearance
https://api.repliz.com/public/listener/{listenerId}
Remove a comment sync. Synced comments stay in the inbox. To stop it for a while, pause it instead.
Authorization: Basic Base64(AccessKey:SecretKey)
listener:write
listenerId
string
_id
curl -X DELETE "https://api.repliz.com/public/listener/6913a5c2e4b0a1f2c3d4e5f6" \ -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
import axios from 'axios'; const listenerId = '6913a5c2e4b0a1f2c3d4e5f6'; const response = await axios.delete(`https://api.repliz.com/public/listener/${listenerId}`, { auth: { username: 'YOUR_ACCESS_KEY', password: 'YOUR_SECRET_KEY', }, }); console.log(response.data);
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY'); const listenerId = '6913a5c2e4b0a1f2c3d4e5f6'; const response = await fetch(`https://api.repliz.com/public/listener/${listenerId}`, { method: 'DELETE', headers: { Authorization: `Basic ${credentials}`, }, }); console.log(response.status);
// No content returned on success
{ "code": 404, "message": "comment sync not found" }
{ "code": 401, "message": "unauthorized" }
Remove Comment Sync
https://api.repliz.com/public/listener/{listenerId}Remove a comment sync. Synced comments stay in the inbox. To stop it for a while, pause it instead.
Endpoint Details
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizlistener:writeParameters
listenerIdstring_idfrom Get Comment Sync or thelistenerIdfrom Create Comment Sync.Example Request
Response