Skip to content
Proud to collaborate with Microsoft for Startups

gcp.artifactregistry.image.delete ​

Delete an Artifact Registry package (image) and all versions; idempotent when already absent.

Delete an Artifact Registry package (image) and all its versions. Idempotent.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
locationstringYes—Artifact Registry location/region.
repository_idstringYes—Artifact Registry repository id.
packagestringYes—Package (image) name within the repository.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
locationstringNo—Artifact Registry location.
repository_idstringNo—Repository id.
packagestringNo—Package (image) name.
deletedbooleanNo—True when this run deleted the package.
already_absentbooleanNo—True when the package did not exist.
operation_namestringNo—Artifact Registry delete operation id.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
deletingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutedeleting—
deletingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.artifactregistry.image.delete",
  "initial_data": {
    "connection_uuid": "value",
    "location": "value",
    "repository_id": "value",
    "package": "value"
  }
}