Packages
Delete a package Copy pagePermanently deletes a package and all its associated resources including models, notebooks, databases, and metadata. This operation cannot be undone, so use with caution. The package must exist and be accessible for deletion.
DELETE /environments/{environmentName}/packages/{packageName}
Authorization Bearer <token>
cURL
JavaScript
Go
Python
Java
C#
Rustcurl --request DELETE \ --url 'https://example.com/environments/string/packages/string' \ --header 'Authorization: Bearer <token>'
200 401 404 500 501 503
{ "resource": "string", "name": "string", "description": "string", "location": "string", "explores": [ "string" ], "exploresWarnings": [ "string" ], "warnings": [ { "model": "string", "target": "string", "message": "string", "severity": "error" } ], "queryableSources": "declared", "manifestLocation": "string", "scope": "version", "materialization": { "schedule": "string", "freshness": { "window": "string", "fallback": "live" } }, "manifestBindingStatus": "unbound", "manifestEntryCount": 0, "boundManifestUri": "string", "buildPlan": { "graphs": [ { "connectionName": "string", "nodes": [ [ { "sourceID": "string", "dependsOn": [ "string" ] } ] ] } ], "sources": { "property1": { "name": "string", "sourceID": "string", "connectionName": "string", "dialect": "string", "sourceEntityId": "string", "sql": "string", "refresh": "string", "freshness": { "window": "string", "fallback": "live" }, "columns": [ { "name": "string", "type": "string" } ], "annotationFields": { "property1": "string", "property2": "string" }, "modelPath": "string" }, "property2": { "name": "string", "sourceID": "string", "connectionName": "string", "dialect": "string", "sourceEntityId": "string", "sql": "string", "refresh": "string", "freshness": { "window": "string", "fallback": "live" }, "columns": [ { "name": "string", "type": "string" } ], "annotationFields": { "property1": "string", "property2": "string" }, "modelPath": "string" } } } }