Skip to main content

delete_artifact

Stop and remove a deployed artifact. This deletes the deployment, stored source code, and all associated resources.

Input Schema

ParameterTypeRequiredDescription
artifact_idstringYesID of the artifact to delete

Example

{
"artifact_id": "a1b2c3d4"
}

Response

{
"message": "artifact my-portfolio deleted"
}

What Happens

  1. Deletes the Knative Service or Kubernetes Deployment
  2. Removes stored source files from the storage backend
  3. Removes the artifact record from the store
  4. Emits a deleted event via the EventBus