---
title: "Replace the enterprise blueprint's YAML contents"
method: PUT
path: "/v3beta1/enterprise/snapshot-setup/blueprints/{blueprint_id}"
tags: ["snapshot_setup"]
---

# Replace the enterprise blueprint's YAML contents

`PUT /v3beta1/enterprise/snapshot-setup/blueprints/{blueprint_id}`

## Path parameters

- `blueprint_id` string, required

## Request body

- UpdateBlueprintContentsBody
  - `contents` string, required — New YAML body for the blueprint.

## Response `200`

Successful Response

- Blueprint — Public ``Blueprint`` resource shape. Note: the ``type`` enum may grow in the future; clients MUST gracefully handle unknown values. YAML contents are fetched separately via ``GET /blueprints/{id}/contents``.
  - `blueprint_id` string, required
  - `created_at` integer, required
  - `repo_name` string, nullable, required
  - `type` 'enterprise' | 'org' | 'repo', required
  - `updated_at` integer, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `429` — Too Many Requests

---

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