POST /parameter/duplicate
Duplicate Parameter
Duplicate a parameter — composable infra architecture.
Request Body (DuplicateParameterApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
parameter_id | string | Yes | Parameter identifier to duplicate |
idempotency_key | string | No | Operation key for ack — promotes or rejects a dormant duplicate |
soft | boolean | No | Stage the duplicate dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it |
accept | boolean | No | Accept (promote) or reject dormant state. Only meaningful with idempotency_key |
Response (DuplicateParameterApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | Whether the duplication succeeded |
parameter_id | string | Yes | New duplicated parameter identifier |
message | string | Yes | Result message |
parameters | ListParameterApiParameter[] | No | Hydrated list row for the just-duplicated parameter — single-element list for shape consistency with create / update. Same shape as /parameter/search returns. Omitted on the soft-pending (ack-shaped) path. |
idempotency_key | string | No | Idempotency key echoed back for client correlation |
Last updated on