Skip to main content
POST
/
accounts
/
add-credential
/
{account_name}
/
{connector_name}
Add Credential
curl --request POST \
  --url http://localhost:8000/accounts/add-credential/{account_name}/{connector_name} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

account_name
string
required
connector_name
string
required

Body

application/json

The body is of type Credentials · object.

Response

Successful Response