---
title: "Change the custom project details (dry run, conflict check, destructive confirmation)"
method: PUT
path: "/v1/showcases/{showcaseId}/project-details"
tags: ["Projects"]
---

# Change the custom project details (dry run, conflict check, destructive confirmation)

`PUT /v1/showcases/{showcaseId}/project-details`

## Request

- Base URL: `https://api.dropl.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dropl.io/v1/showcases/{showcaseId}/project-details`
- Auth: HTTP bearer

Requires the `showcases:write` scope (create and edit showcases, categories, and tags). Send `Idempotency-Key` to retry safely: a repeat with the same key and body within 24 hours returns the first response.

## Path parameters

- `showcaseId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- UpdateProjectDetailsRequest
  - `fields` ProjectDetailFieldInput[], required: The whole new list, in order.
    - `key` string: An existing detail's key; omit to add a detail (derived from the label).
    - `label` string, required
    - `type` 'short_text' | 'number' | 'select' | 'year' | 'date' | 'link', required
    - `unit` string, nullable
    - `options` object[], nullable
      - `value` string: An existing option's value; omit to add one.
      - `label` string, required
    - `showOnCard` boolean: At most 2 details show on cards.
  - `expectedVersion` integer, required: The version you read; a newer one is a 409 SCHEMA_CHANGED.
  - `dryRun` boolean
  - `confirmDestructive` boolean: Required when a change removes values (409 CONFIRMATION_REQUIRED otherwise).

## Response `200`

Success

- ProjectDetailsChangeResult
  - `applied` boolean, required
  - `fields` ProjectDetailField[], required
    - `key` string, required: Stable; never changes.
    - `label` string, required
    - `type` 'short_text' | 'number' | 'select' | 'year' | 'date' | 'link', required: Never changes.
    - `unit` string, nullable, required
    - `options` object[], nullable, required
      - `value` string, required
      - `label` string, required
    - `showOnCard` boolean, required
  - `version` integer, required
  - `changes` object[], required
    - `kind` string, required
    - `key` string, nullable, required
    - `description` string, required
    - `destructive` boolean, required
    - `affectedProjectCount` integer, required
  - `summary` string, required

## Other responses

- `400`: Validation failed
- `401`: `INVALID_API_KEY`: missing, invalid, expired, or revoked key
- `403`: `INSUFFICIENT_SCOPE` (names the missing scope), `SITE_RESTRICTED_KEY`, or a plan limit
- `404`: Not found, or outside the key's sites
- `409`: `IDEMPOTENCY_KEY_IN_PROGRESS` or a conflict
- `422`: `IDEMPOTENCY_KEY_REUSED`
- `429`: Rate limited

---

[API](https://skmtc.dev/dropl/apis/dropl-public-api.md) · [All operations](https://skmtc.dev/dropl/apis/dropl-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dropl/apis/dropl-public-api/revisions/8a42e1f968d4?raw)
