---
title: "UpdateSecret"
method: PUT
path: "/v1/secrets/{name}"
tags: ["UserCenter"]
---

# UpdateSecret

`PUT /v1/secrets/{name}`

## Path parameters

- `name` string, required

## Request body

- object
  - `description` string
  - `expires` string, int64
  - `status` integer

## Response `200`

A successful response.

- object

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/onexstack/apis/usercenter-v1-usercenter-proto.md) · [All operations](https://skmtc.net/onexstack/apis/usercenter-v1-usercenter-proto/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onexstack/usercenter-v1-usercenter-proto/revisions/fc95c4d4129d/schema)
