---
title: "Update the asset of an action"
method: PUT
path: "/tasks/v1/actions/{task_id}/asset"
tags: ["Actions"]
---

# Update the asset of an action

`PUT /tasks/v1/actions/{task_id}/asset`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/tasks/v1/actions/{task_id}/asset`
- Auth: HTTP bearer

## Path parameters

- `task_id` string, required

## Request body

- S12TasksV1ActionsServiceUpdateAssetBody
  - `asset_id` S12CommonUUIDValue: Wrapper message for a string representation of a `UUID`.
    - `value` string
  - `modified_at` string, date-time: Optional. The timestamp of when this event occurred.

## Response `200`

A successful response.

- S12TasksV1UpdateAssetResponse

## Other responses

- `default`: An unexpected error response.

---

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