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

# POST /update-ping-target

`POST /update-ping-target`

## Request body

- UpdatePingTarget — updatePingTarget is a command that updates an existing target. [Deprecated: Use target-update-ping command]
  - `administrative-port` string — Ping Federate administrative port
  - `authorization-port` string — Ping Federate authorization port
  - `comment` string — Deprecated - use description
  - `description` string — Description of the object
  - `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
  - `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)
  - `max-versions` string — Set the maximum number of versions, limited by the account settings defaults.
  - `name` string, required — Target name
  - `new-name` string — New target name
  - `password` string — Ping Federate privileged user password
  - `ping-url` string — Ping URL
  - `privileged-user` string — Ping Federate privileged user
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication
  - `update-version` boolean — Deprecated

## Response `200`

updatePingTargetResponse wraps response body.

- UpdatePingTargetOutput

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