delete_artifact
Stop and remove a deployed artifact. This deletes the deployment, stored source code, and all associated resources.
Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
artifact_id | string | Yes | ID of the artifact to delete |
Example
{
"artifact_id": "a1b2c3d4"
}
Response
{
"message": "artifact my-portfolio deleted"
}
What Happens
- Deletes the Knative Service, Kubernetes Deployment, or wasmCloud component
- Removes stored source files from the storage backend
- Removes the artifact record from the store
- Emits a
deletedevent via the EventBus