curl --location --request PUT 'https://api.makini.io/v4/connections/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"email": "user@example.com",
"platform": "string",
"userMetadata": {
"property1": "string",
"property2": "string"
},
"credentials": {
"property1": "string",
"property2": "string"
},
"credentialForm": "string",
"endUserId": "120e9d1f-8444-4b91-85e8-5b208615a3e5",
"tlsTrust": {
"caCert": "string",
"pins": [
"string"
],
"host": "string",
"certificateSha256": "string",
"subject": "string",
"issuer": "string",
"notAfter": "2019-08-24T14:15:22.123Z",
"acceptedAt": "2019-08-24T14:15:22.123Z",
"acceptedBy": "string"
},
"enable": {
"forms": [
"string"
],
"solutions": [
"string"
],
"flowFolders": [
"string"
]
}
}'{
"connection": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"clientId": "5e505642-9024-474d-9434-e5a44f505cc5",
"name": "string",
"email": "user@example.com",
"platform": "string",
"adapterSlug": "string",
"userMetadata": {
"property1": "string",
"property2": "string"
},
"connectedAt": "2019-08-24T14:15:22.123Z",
"deactivatedAt": "2019-08-24T14:15:22.123Z",
"credentialsExpiredAt": "2019-08-24T14:15:22.123Z",
"endUserId": "120e9d1f-8444-4b91-85e8-5b208615a3e5",
"endCustomerId": "1198d196-c1a8-48f0-9c52-b1c3faed64f7",
"egressProfileId": "11a379f9-3ea2-40ad-a926-c7d9660eadbe",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}