Delete an existing webhook.
POST
/xrpc/place.stream.server.deleteWebhook
const url = 'https://example.com/xrpc/place.stream.server.deleteWebhook';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.server.deleteWebhook \ --header 'Content-Type: application/json' \ --data '{ "id": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
id
required
The ID of the webhook to delete.
string
Example generated
{ "id": "example"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
success
required
Whether the webhook was successfully deleted.
boolean
Example generated
{ "success": true}Bad Request
