---
title: "Enable or Disable a Shared Pipeline Artifact Version"
method: PATCH
path: "/v1/shared-pipelines/artifacts"
tags: ["Shared Pipeline Artifacts"]
---

# Enable or Disable a Shared Pipeline Artifact Version

`PATCH /v1/shared-pipelines/artifacts`

Enables or disables a specific version of a shared pipeline artifact. The sharedPipelineIdPrefix identifies the shared pipeline group.

## Request body

- UpdateSharedPipelineRequest
  - `enabled` boolean, required — Whether this version of the shared pipeline is enabled
  - `sharedPipelineIdPrefix` string, required — The prefix identifier grouping related shared pipelines
  - `versionName` string, required — The version name of the shared pipeline artifact

## Response `200`

Shared pipeline artifact version updated successfully

- UpdateSharedPipelineResponse
  - `enabled` boolean — Whether this version of the shared pipeline is enabled
  - `versionName` string — The version name of the shared pipeline artifact

## Other responses

- `400` — Invalid request body or missing required fields
- `401` — Missing or invalid authentication token
- `403` — Insufficient permissions to update shared pipeline artifacts
- `404` — Shared pipeline artifact or version not found
- `500` — Unexpected error occurred

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/revisions/6239825f68eb/schema)
