DELETE /v1/notes_destinations/:voice_channel_id
Removes a voice channel’s notes destination. Its meetings then go to your default notes channel. You don’t need this when a channel is deleted in Discord: its destination is removed on its own.
Request
DELETE /v1/notes_destinations/<voice_channel_id>
Authorization: Bearer <token>
| Path param | Required | Description |
|---|---|---|
voice_channel_id | Yes | The voice or stage channel whose destination to remove. |
No query string. No request body.
Example
DELETE /v1/notes_destinations/1562925672127668374
Authorization: Bearer <token>
Successful response
Status: 200 OK
Content-Type: application/json
The destination that was removed:
{
"notes_destination": {
"voice_channel_id": "1562925672127668374",
"channel_id": "1563282722724646982"
}
}
Errors
Status: 404 Not Found when that voice channel has no destination:
{ "error": "not_found", "message": "Resource not found." }
Related
- GET /v1/notes_destinations: list the server’s destinations.
- POST /v1/notes_destinations: add or replace one.
Last updated on