Withdraw an invitation
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_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/proposals/{proposal_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/proposals/{proposal_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/proposals/{proposal_id}/")
.header("Authorization", "<api-key>")
.asString();RFQ
Withdraw an invitation
The RFQ owner deletes a proposal that is still pending or in_progress. Submitted proposals are kept and return 409.
DELETE
/
v2
/
organizations
/
rfq
/
proposals
/
{proposal_id}
/
Withdraw an invitation
curl --request DELETE \
--url https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_id}/ \
--header 'Authorization: <api-key>'import requests
url = "https://api.glassmarkets.io/v2/organizations/rfq/proposals/{proposal_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/proposals/{proposal_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/proposals/{proposal_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/proposals/{proposal_id}/")
.header("Authorization", "<api-key>")
.asString();
