Saltar al contingut principal
DELETE

Eliminar un pressupost

Scope:sales:estimates.write
https://api.holded.com/api/v2/estimates/{estimateId}

Elimina permanentment un pressupost. Aquesta acció no es pot desfer.

Paràmetres

Paràmetres de ruta

estimateIdstringobligatori

ID del pressupost (ObjectId hexadecimal de 24 caràcters)

Petició

python
import requests

url = "https://api.holded.com/api/v2/estimates/{estimateId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

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

Respostes

Respostes exitoses

204Recurs eliminat

Respostes d'error

401API key no vàlida o no proporcionadaapplication/json
403Permisos insuficientsapplication/json
404Pressupost no trobatapplication/json
429Límit de sol·licituds exceditapplication/json