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

# Secret Save

`PUT /v1/admin/secrets/{name}`

## Request

- Base URL: `https://api.mocapless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mocapless.com/v1/admin/secrets/{name}`
- Auth: none declared

## Path parameters

- `name` string, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- SecretValue
  - `value` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mocapless/apis/mocapless-api.md) · [All operations](https://skmtc.dev/mocapless/apis/mocapless-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mocapless/apis/mocapless-api/revisions/37b479a6e615?raw)
