POST
/
api
/
keychain
/
authenticate
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/keychain/authenticate \
  --header 'Content-Type: application/json' \
  --data '{
  "authElements": [
    {
      "type": "username",
      "value": "user@example.com"
    },
    {
      "type": "password",
      "value": "secret123"
    }
  ],
  "service": "github"
}'
true

Body

application/json
service
string
required

Service identifier to authenticate

Example:

"github"

authElements
object[]
required

Authentication elements to verify

Response

200
application/json
Successfully performed authentication

The response is of type boolean.