Skip to content
POST
/user/secrets/add

Add a new secret

AddSecretRequest
object
tenant_id
required
Tenant Id
string
store_id
Any of:
string
name
required
Name
string
value
required
Value
string

Successful Response

AddSecretResponse
object
secret_id
required
Secret Id
string

{"detail": "Secret already exists"}

{"detail": "Invalid API Key"}

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string