v2

latestOpenAPI 3.1.02026-07-2675166192.8 KB
Secrets

Create Secret

Create a new global secret.

The secret will be encrypted and stored securely. If teamId is provided, the secret will be associated with that team (requires team membership).

post/api/v1/secrets/

Request body

namestring required

Name of the secret (must start with uppercase, only uppercase, numbers, underscores)

descriptionstring nullable

Optional description of the secret

valuestring required

The secret value to store (will be encrypted)

teamIdstring nullable

Optional team ID for team-level secrets

isFileboolean

Whether this secret represents a file (max 64KB base64 encoded)

Response

Successful Response

statusstring nullable

Response status