RFQs
Cancel open offer on open RFQ
Cancel the current open offer on the specified open RFQ
Note: This is currently available exclusively in the Kraken Futures DEMO environment.
DELETE
/
rfqs
/
{rfqUid}
/
cancel-offer
Cancel open offer on open RFQ
curl --request DELETE \
--url https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer"
headers = {
"APIKey": "<api-key>",
"Authent": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {APIKey: '<api-key>', Authent: '<api-key>'}};
fetch('https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer', 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://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("APIKey", "<api-key>")
req.Header.Add("Authent", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": "success",
"serverTime": "2020-08-27T17:03:33.196Z"
}Authorizations
General API key with at least read-only access
Authentication string
Path Parameters
Unique identifier for the RFQ
⌘I
Cancel open offer on open RFQ
curl --request DELETE \
--url https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'import requests
url = "https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer"
headers = {
"APIKey": "<api-key>",
"Authent": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {APIKey: '<api-key>', Authent: '<api-key>'}};
fetch('https://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer', 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://demo-futures.kraken.com/derivatives/api/v3/rfqs/{rfqUid}/cancel-offer"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("APIKey", "<api-key>")
req.Header.Add("Authent", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": "success",
"serverTime": "2020-08-27T17:03:33.196Z"
}