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

# POST /update-target-details

`POST /update-target-details`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/update-target-details`
- Auth: none declared

## 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.dev/akeyless/apis/infrastructure-connectivity.md) - [All operations](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/revisions/62dc62fea89d?raw)
