Skip to main content
POST
Add a workspace secret (the value is never returned)

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Body

application/json
name
string
required
value
string
type
enum<string>
Available options:
static,
refresh
refresh
object

Response

Created

id
string
required
object
any
required
name
string
required
key
string
required
type
enum<string>
required
Available options:
Static,
Refresh
status
enum<string>
required
Available options:
Active,
Paused
reference
string
required
id_reference
string
required
has_value
boolean
required
archived
boolean
required
created_by
string | null
required
updated_by
string | null
required
created_at
string | null
required
updated_at
string | null
required
refresh
object | null
required

Refresh configuration without credentials or request body.