OpenAPI
Delete waitlist items
Delete waitlist items.
Authorization
AuthorizationBearer <token>
Your team's root key.
In: header
Request Body
application/json
Requireditemsarray<string>
Path Parameters
idstring
Unique ID
Pattern
"^[a-zA-Z0-9_-]{21}$"
Length
21 <= 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/items" \
-H "Content-Type: application/json" \
-d '{
"items": [
"stringstringstringstr"
]
}'
const body = JSON.stringify({
"items": [
"stringstringstringstr"
]
})
fetch("https://api.boltmesh.com/v1/waitlists/stringstringstringstr/items", {
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://api.boltmesh.com/v1/waitlists/stringstringstringstr/items"
body := strings.NewReader(`{
"items": [
"stringstringstringstr"
]
}`)
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/items"
body = {
"items": [
"stringstringstringstr"
]
}
response = requests.request("DELETE", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)
{
"ok": true,
"message": "Successful request."
}