---
title: "Update Prompt (partial)"
method: PATCH
path: "/console/v1/prompts/{id}"
tags: ["Prompts"]
---

# Update Prompt (partial)

`PATCH /console/v1/prompts/{id}`

## Path parameters

- `id` string, required

## Request body

- AIConfigPartialUpdateDto
  - `description` string — Updated description.
  - `targetApps` union — Updated list of target app names.
    - string
    - string[]
  - `team` string — Updated team name.
  - `teamID` string — Updated team ID.

## Response `200`

Update Prompt Response

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — A single result.
    - `id` string, required — ID
    - `name` string — The gate display name
    - `idType` string
    - `description` string, required
    - `lastModifierID` string, nullable, required — ID of the last modifier.
    - `lastModifiedTime` number, double, nullable, required — Time of the last modification.
    - `lastModifierEmail` string, nullable, required — Email of the last modifier.
    - `lastModifierName` string, nullable, required — Name of the last modifier.
    - `creatorID` string, nullable
    - `createdTime` number, double, required — Timestamp when the entity was created.
    - `creatorName` string, nullable, required — Name of the creator.
    - `creatorEmail` string, nullable
    - `tags` string[]
    - `targetApps` string[] — List of target applications associated with this configuration.
    - `holdoutIDs` string[] — Holdouts applied to this configuration.
    - `team` string, nullable
    - `teamID` string, nullable
    - `version` number, double — Version number

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/revisions/3189f450c93b/schema)
