Skip to main content
PATCH
Update pipeline

Path Parameters

workspaceSlug
string
required

URL-safe workspace identifier.

pipelineSlug
string
required

URL slug of the pipeline, unique within its workspace.

Body

application/json

Request payload to update an existing pipeline.

All fields are optional; only provided fields will be updated. Supplying a definition replaces the whole detection + redaction configuration.

Request payload to update an existing pipeline.

All fields are optional; only provided fields will be updated. Supplying a definition replaces the whole detection + redaction configuration.

definition
object

New detection + redaction configuration (replaces the whole definition).

description
string

New description for the pipeline (max 500 characters).

Maximum string length: 500
displayName
string

New display name for the pipeline (2-128 characters).

Required string length: 2 - 128
retention
object

Replacement per-scope data-retention override. When omitted, the pipeline's retention override is left unchanged.

status

New status for the pipeline.

Allowed value: "draft"

Response

Pipeline response.

Pipeline response.

createdAt
string<date-time>
required

Timestamp when the pipeline was created.

createdBy
object
required

Account that created this pipeline.

definition
object
required

Detection + redaction configuration.

displayName
string
required

Pipeline display name.

slug
string
required

URL slug of the pipeline, unique within its workspace.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
status
required

Pipeline lifecycle status.

Allowed value: "draft"
updatedAt
string<date-time>
required

Timestamp when the pipeline was last updated.

workspaceSlug
string
required

Handle of the workspace this pipeline belongs to.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
description
string

Pipeline description.

retention
object

Per-scope data-retention override, when the pipeline sets one.