Skip to main content
POST
Create a new vault secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
value
string
required
workosOrganizationId
string

WorkOS organization ID (format: "org_...")

Response

Secret created successfully

Response from create / update / upsert vault secret endpoints.

success
enum<boolean>
required
Available options:
true
data
object
required

Lightweight projection of a vault secret. Values are never included in list responses.

Example:
message
string