---
title: "Update Action"
method: PATCH
path: "/api/actions/{action_id}"
tags: ["actions"]
---

# Update Action

`PATCH /api/actions/{action_id}`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/actions/{action_id}`
- Auth: none declared

Update an existing action configuration.

## Path parameters

- `action_id` string, required

## Request body

- UpdateActionRequest: Request to update an existing action configuration.
  - `approval_mode` string, nullable
  - `is_active` boolean, nullable
  - `default_ref` string, nullable
  - `name` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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