Skip to main content

Remove file of a quote

Removes file of a quote.

Endpoint

DELETE /integration/quote/{id}/file

HTTP Request

DELETE /integration/quote/{id}/file

Query parameters

NameDescriptionRequiredType
idIdentifier of the quoteYesstring

Successful response

{
"blueTapeId": "fb5637b2e5f3"
}

Erroneous response

HTTP 404

{
"code": "404",
"reason": "Quote not found."
}

Responses

CodeDescription
200Successful operation
400Invalid request
401Unauthorized
404Not found
500Unexpected error

Examples

curl https://api.bluetape.com/genericBthubService/integration/quote/<quoteId>/file \
-X DELETE \
-H "X-BlueTape-Key: <your-key>" \
-H "X-Integration-AccountId: <your-account-id>" \
import fetch from 'node-fetch';

const quoteId = '27be905508e7';
const url = `https://api.bluetape.com/genericBthubService/integration/quote/${quoteId}/file`;
const options = {
method: 'DELETE',
headers: {
'X-BlueTape-Key': '<your-key>',
'X-Integration-AccountId': '<your-account-id>',
'Content-Type': 'application/json'
}
};

fetch(url, options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
using Flurl.Http;

var result = await "https://api.bluetape.com/genericBthubService/integration/quote/{quoteId}/file"
.WithHeader("X-BlueTape-Key", "<your-key>")
.WithHeader("X-Integration-AccountId", "<your-account-id>")
.WithHeader("Content-Type", "application/json")
.DeleteAsync();
import requests

url = "https://api.bluetape.com/genericBthubService/integration/quote/<quoteId>/file"

headers = {
"X-BlueTape-Key": "<your-key>",
"X-Integration-AccountId": "<your-account-id>",
"Content-Type": "application/json"
}

response = requests.delete(url, headers=headers)

print(response.text)