Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
projectId
string
required

The ID of the project to update the secret in.

environment
string
required

The slug of the environment to create the secret in.

secrets
object[]
required
Minimum array length: 1
secretPath
string
default:/

The path to create the secret in.

Response

Default Response

secrets
object[]
required