Skip to content

Delete meeting

Endpoint

DELETE /v3/meeting/:id

Deletes the given meeting. If the meeting has been created as long-lasting, it will be terminated as well. Please note, that all active participants in the given meeting will be kicked out. Meeting deletion only works on meetings of type MEETING.

Parameters

No parameters.

Returns

Returns the meeting object with a timestamp of the deletion time if a valid identifier was provided, and returns an error otherwise.

Bash
curl --location --request DELETE 'https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415' \
--header 'API_KEY: meedio_key' \
--header 'API_SECRET: meedio_secret'
Ruby
require "uri"
require "net/http"

url = URI("https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Delete.new(url)
request["API_SECRET"] = "meedio_secret"
request["API_KEY"] = "meedio_key"

response = https.request(request)
puts response.read_body
JavaScript
var axios = require("axios");

var config = {
  method: "delete",
  url: "https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415",
  headers: {
    API_SECRET: "meedio_secret",
    API_KEY: "meedio_key",
  },
};

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data));
  })
  .catch(function (error) {
    console.log(error);
  });
Python
import requests

url = "https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415"

payload={}
headers = {
  'API_SECRET': 'meedio_secret',
  'API_KEY': 'meedio_key'
}

response = requests.request("DELETE", url, headers=headers, data=payload)

print(response.text)
PHP
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'API_SECRET' => 'meedio_secret',
  'API_KEY' => 'meedio_key'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
Go
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api.meedio.me/api/v3/meeting/e91254af-e761-4fdb-abe8-b4b1f7f02415"
  method := "DELETE"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("API_SECRET", "meedio_secret")
  req.Header.Add("API_KEY", "meedio_key")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}