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

# PUT /v1/secrets/{name}

`PUT /v1/secrets/{name}`

UpdateSecret

## Path parameters

- `name` string, required

## Request body

- UsercenterV1UpdateSecretRequest
  - `name` string
  - `expires` string
  - `status` integer
  - `description` string

## Response `200`

OK

## Changes

- **2024-04-03** `ae599f31f558` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/v1/secrets/:name/put.md)

---

[API](https://skmtc.dev/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.dev/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/ae599f31f558/schema)
