Delete a notification channel
DELETE
/v1/projects/{id}/notification-channels/{channelId}
const url = 'https://beta-api.plune.ai/v1/projects/example/notification-channels/example';const options = {method: 'DELETE', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://beta-api.plune.ai/v1/projects/example/notification-channels/example \ --cookie plune_session=<plune_session>The owner’s: the channel, its sealed address and its deliveries not yet sent go. Not refused by the tier. In the project’s feed. Sixty a minute.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
An id from GET /v1/projects
channelId
required
string
A channel’s id from GET …/notification-channels
Responses
Section titled “ Responses ”Deleted
No / invalid session — a CLI token is refused here
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Not the project’s owner
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Not your project, or (code: channel_not_found) no such channel in it
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the window rolls over