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

# POST /update-rdp-target-details

`POST /update-rdp-target-details`

## Request body

- UpdateRDPTargetDetails
  - `admin-name` string — The admin name
  - `admin-pwd` string — The admin password
  - `host-name` string — The rdp host name
  - `host-port` string — The rdp port
  - `json` boolean — Set output format to JSON
  - `keep-prev-version` string — Whether to keep previous version [true/false]. If not set, use default according to account settings
  - `name` string, required — Target name
  - `new-version` boolean — Deprecated
  - `protection_key` string — The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

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