PUT
Update a project secret file

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

project_id
string
required

Project ID or UUID

name
string
required

Secret file name as returned on creation

Body

application/json

Update a project secret file

filename
string

New path the file is mounted at inside the container

text
string

New file contents. Encrypted at rest and never returned by the API

Response

Update a project secret file

Api_V1_Entities_SecretFile model

name
string
required

Server-assigned identifier, unique across the platform. Use it in every other secret file endpoint

filename
string
required

Path the file is mounted at inside the container

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp