---
title: "Updates the labels associated with an action"
method: PUT
path: "/tasks/v1/actions/{action_id}/label"
tags: ["Actions"]
---

# Updates the labels associated with an action

`PUT /tasks/v1/actions/{action_id}/label`

## Request

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

## Path parameters

- `action_id` string, required

## Request body

- S12TasksV1ActionsServiceUpdateActionLabelsBody
  - `label_ids` string[]: The list of label IDs to associate with the action. Multiple labels can be added. Note: Sending an empty list for `label_ids` will remove all labels currently associated with the action.
  - `modified_at` string, date-time: Date and time this label was modified.

## Response `200`

A successful response.

- S12TasksV1UpdateActionLabelsResponse

## 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)
