# Set a secret to a project

Endpoint: PUT /api/projects/{id}/secrets/{key}
Version: 1.0
Security: ApiKeyAuth

## Path parameters:

  - `id` (integer, required)
    project id

  - `key` (string, required)
    secret key

## Request fields (application/json):

  - `value` (string, required)
    value of the secret
    Example: "TD1 12345..."


## Response 204 fields
