Boltmesh Docs
OpenAPI

Delete a waitlist project

Delete a waitlist project.

DELETE
/v1/waitlists/{id}

Authorization

Authorization

AuthorizationBearer <token>

Your team's root key.

In: header

Request Body

application/jsonOptional

Empty Object

Path Parameters

idstring

Unique ID

Pattern"^[a-zA-Z0-9_-]{21}$"
Length21 <= length <= 21

Response Body

Response

TypeScript Definitions

Use the response body type in TypeScript.

okboolean

The response status.

messagestring

The reponse messgae.

curl -X DELETE "https://api.boltmesh.com/v1/waitlists/stringstringstringstr" \
  -H "Content-Type: application/json" \
  -d '{}'
const body = JSON.stringify({})

fetch("https://api.boltmesh.com/v1/waitlists/stringstringstringstr", {
  body
})
package main

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

func main() {
  url := "https://api.boltmesh.com/v1/waitlists/stringstringstringstr"
  body := strings.NewReader(`{}`)
  req, _ := http.NewRequest("DELETE", url, body)
  req.Header.Add("Content-Type", "application/json")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.boltmesh.com/v1/waitlists/stringstringstringstr"
body = {}
response = requests.request("DELETE", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
{
  "ok": true,
  "message": "Successful request."
}