Saltar al contenido principal
DELETE
/
v1
/
project
/
{id}
Delete Project
import requests

url = "https://api.diga.io/v1/project/{id}"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
{
  "status": "error",
  "error_code": "LAST_PROJECT",
  "message": "Cannot delete the last project"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

id
string<uuid>
requerido

Respuesta

Successful Response