Skip to main content
DELETE
/
api
/
dataframer
/
specs
/
{spec_id}
Python
import os
from dataframer import Dataframer

client = Dataframer(
    api_key=os.environ.get("DATAFRAMER_API_KEY"),  # This is the default and can be omitted
)
client.dataframer.specs.delete(
    spec_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

spec_id
string<uuid>
required

UUID of the spec

Query Parameters

force
boolean
default:false

If true, delete the spec and all associated runs (including their generated files). If false or omitted, returns an error when runs exist.

Response

Spec deleted successfully