---
title: "POST /update-target-details"
method: POST
path: "/update-target-details"
tags: ["v2"]
---

# POST /update-target-details

`POST /update-target-details`

## Request body

- UpdateTargetDetails — updateTargetDetails is a command that updates an existing target. [Deprecated]
  - `json` boolean — Set output format to JSON

## Response `200`

updateTargetResponse wraps response body.

- UpdateTargetOutput
  - `updated` boolean

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
