---
title: "Update a curated stack profile"
method: PATCH
path: "/api/v1/stack-profiles/{profile_id}"
tags: ["stack-profiles-curated"]
---

# Update a curated stack profile

`PATCH /api/v1/stack-profiles/{profile_id}`

## Request

- Base URL: `https://api.qualityclouds.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qualityclouds.ai/api/v1/stack-profiles/{profile_id}`
- Auth: one of:
  - HTTP bearer
  - OpenID Connect (`https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration`)

## Path parameters

- `profile_id` string, uuid, required

## Request body

- UpdateStackProfileRequest: Request body for PATCH /api/v1/stack-profiles/{profile_id}.
  - `name` string, nullable
  - `description` string, nullable
  - `is_default` boolean, nullable

## Response `200`

Successful Response

- StackProfileResponse: Response body for a single curated stack profile.
  - `id` string, uuid, required
  - `name` string, required
  - `scope_type` 'global' | 'org' | 'workspace' | 'project', required: Four-level scope hierarchy for curated stack profiles.
  - `is_default` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `description` string, nullable
  - `parent_id` string, uuid, nullable
  - `created_by` string, nullable
  - `org_id` string, uuid, nullable
  - `workspace_id` string, uuid, nullable
  - `repository_id` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api.md) · [All operations](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/revisions/250c849925af?raw)
