Create datasource
POST /v1/admin/datasources
POST
/v1/admin/datasources
Creates a datasource definition with config fields and secret references
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”Datasource payload
object
config_fields
required
Array<object>
object
clear
boolean
is_secret
boolean
key
required
string
value
string
name
required
string
scan_policy
string
secret_backend
string
type
required
string
Responses
Section titled “ Responses ”OK
object
config_fields
Array<object>
object
has_value
boolean
is_secret
boolean
key
string
value
string
created_at
string
id
string
is_disabled
boolean
name
string
scan_policy
string
secret_backend
string
type
string
updated_at
string
Bad Request
object
error
string
message
string
Example
Success success
boolean
Example
trueUnauthorized
object
error
string
message
string
Example
Success success
boolean
Example
trueForbidden
object
error
string
message
string
Example
Success success
boolean
Example
trueInternal Server Error
object
error
string
message
string
Example
Success success
boolean
Example
true