Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
environment
string
required

The slug of the environment to create the secret in.

secrets
object[]
required
Minimum array length: 1
projectSlug
string

The slug of the project to update the secret in.

workspaceId
string

The ID of the project to update the secret in.

secretPath
string
default:/

The path to create the secret in.

Response

Default Response

secrets
object[]
required