# Update app secrets belonging to an app (/secrets/Secrets_update)

`POST /apps/{app_name}/secrets`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `app_name` | path | `string` | Yes | Fly App Name |

## Request Body

Type: `AppSecretsUpdateRequest`

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `values` | `map<string, string>` | No |  |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | OK | `AppSecretsUpdateResp` |
| `400` | Bad Request | `ErrorResponse` |

The full machine-readable OpenAPI spec is available at /openapi.json.