Skip to main content
POST
Create data source credential

Authorizations

Authorization
string
header
required

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

Headers

x-ankra-organisation-id
string

PAT organisation override.

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