Skip to main content
POST
Create data source credential

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Headers

X-Ankra-CSRF
string
required

Must match the ankra_csrf browser cookie.

Body

application/json
name
string
required
auth_scheme
string

bearer or api_key for token credentials (defaults to bearer); basic for username/password credentials (the default when username and password are sent).

password
string
write-only
token
string
write-only
username
string

Response

Successful response

errors
object[]
required
id
string<uuid>
required
name
string
required
success
boolean
required