---
title: "Clear a runtime validation local artifact"
method: POST
path: "/api/v2/runtimeValidation/clearLocalArtifact"
tags: ["Runtime Validation"]
---

# Clear a runtime validation local artifact

`POST /api/v2/runtimeValidation/clearLocalArtifact`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/runtimeValidation/clearLocalArtifact`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Remove the uploaded compiled local application artifact for one runtime validation application profile. Profiles in LOCAL_ARTIFACT mode remain not ready until a replacement artifact is uploaded.

## Request body

- RuntimeValidationClearLocalArtifactRequest
  - `organizationId` string
  - `profileId` string, required

## Response `200`

Updated profile readiness after clearing the local artifact

- RuntimeValidationClearLocalArtifactResponse
  - `profileId` string, required
  - `status` 'NOT_ANALYZED' | 'NOT_TESTABLE' | 'NEEDS_INPUT' | 'READY' | 'ERROR', required: Persistent Runtime Validation readiness status for an application profile. READY profiles can be validated against eligible full scans.
  - `targetMode` 'REMOTE_CONNECTIVITY' | 'LOCAL_ARTIFACT' | 'SOURCE_BUILD', required: Runtime target mode for the application profile. LOCAL_ARTIFACT profiles require an uploaded Linux x86_64/amd64 compiled artifact before validation can start. SOURCE_BUILD profiles are built and run from source inside the isolated validation pod, so no deployed target or uploaded artifact is required.
  - `inputSummary` RuntimeValidationInputSummary, required
    - `required` integer, required
    - `provided` integer, required
    - `missing` integer, required
  - `localArtifact` unknown, required
  - `supportedRuntime` RuntimeValidationSupportedLocalArtifactRuntime, required: Runtime environment used for uploaded local artifacts. Only Linux x86_64/amd64 artifacts are supported.
    - `os` 'linux', required
    - `architecture` 'x86_64', required
    - `container` string, required

## Other responses

- `400`: Error Response
- `401`: Error Response
- `403`: Error Response
- `404`: Error Response
- `409`: Error Response
- `412`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
