Body
-
Connection Id
-
Connection Name
-
Connection description
-
Connection type (smtp, iform_oauth2, db, zoho, webmerge)
-
Configuration based on connection type (see Create Connection request examples)
-
Owner's name
-
Array of Entities that have permission to this connection
-
Created by entity name
-
Created by entity Id
PUT
/connections/{connectionId}
curl \
--request PUT 'https://dataflownode.zerionsoftware.com/zcrypt/v1.0/connections/{connectionId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"_id": "577c8238248e8d8fd9144ddb",
"connectionName": "iform_oauth_806",
"description": "test test",
"type": "iform_oauth2",
"config": {},
"owningEntity": "demo_5000",
"trustedEntities": [
{
"entity": "5684058f159fffbe29ff9912",
"accessLevel": "READWRITE"
}
],
"createdBy": "user_5000",
"createdById": "5684058f159fffbe29ff9912"
}'
Request example
{
"_id": "577c8238248e8d8fd9144ddb",
"connectionName": "iform_oauth_806",
"description": "test test",
"type": "iform_oauth2",
"config": {},
"owningEntity": "demo_5000",
"trustedEntities": [
{
"entity": "5684058f159fffbe29ff9912",
"accessLevel": "READWRITE"
}
],
"createdBy": "user_5000",
"createdById": "5684058f159fffbe29ff9912"
}
Response examples (200)
{
"_id": "574bcd24d96535adaf730a63"
}