---
title: "PUT /blueprinttemplates/{guid}/{file} - Blueprint Templates · RUAL Documentation"
description: "Update a specific file within a blueprint template (e.g., reactroot)"
canonical: https://docs.rual.nl/cluster/api/blueprint-templates/blueprinttemplates--guid---file-put
language: en
---

# PUT /blueprinttemplates/{guid}/{file}

Update a specific file within a blueprint template (e.g., reactroot)

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **guid** required | `string` | `"example"` | Unique identifier (GUID) |
| **file** required | `string` | `"reactroot"` | File type to update |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **[authorization](https://docs.rual.nl/cluster/api#token-providing)** required | `string` | `"Bearer access_token"` | Access token |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **content** optional | `string` | `"Use Ctrl+S to save your work quickly"` | File content |

```
{}
```

```
{
  "code": 401,
  "error": "INVALID_ACCESS_TOKEN"
}
```

| Status | Error Code | Description |
| --- | --- | --- |
| `401` | `INVALID_ACCESS_TOKEN` | Authentication required or invalid token |

| Permission | Description |
| --- | --- |
| `Bearer token` | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
| `blueprinttemplates_update` | Required scope: blueprinttemplates_update |
