---
title: "Update Share Template"
method: PUT
path: "/share-templates/{share_template_id}"
tags: ["Share Templates"]
---

# Update Share Template

`PUT /share-templates/{share_template_id}`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/share-templates/{share_template_id}`
- Auth: API key in header `Authorization`

Update a share template.

## Path parameters

- `share_template_id` string, uuid, required: Share template id

## Request body

- ShareTemplateUpdateRequest: API request schema for updating a share template
  - `name` string, nullable: New display name for the share template
  - `actions` integer, nullable: New actions bitmap

## Response `200`

Successful Response

- ShareTemplateResponse: API response schema for a share template
  - `id` string, uuid, required: Share template ID
  - `workspace_id` string, uuid, required: Workspace ID
  - `name` string, required: Display name
  - `actions` integer, required: Allowed actions bitmap
  - `created` string, date-time, required: Creation timestamp
  - `updated` string, date-time, required: Last update timestamp

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
