Delete a draft RFQ
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/")
.header("Authorization", "<api-key>")
.asString();RFQ
Delete a draft RFQ
The owner deletes a draft RFQ that has no invited bidders. Any other RFQ returns 409: archive it instead.
DELETE
/
v2
/
organizations
/
rfq
/
{rfq_id}
/
Delete a draft RFQ
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.glassmarkets.io/v2/organizations/rfq/{rfq_id}/")
.header("Authorization", "<api-key>")
.asString();
