curl --request POST \
--url https://app.enzo.health/api/v1/credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"data": {
"port": 123,
"from": {
"email": "<string>",
"name": "<string>"
},
"host": "<string>",
"username": "<string>",
"password": "<string>",
"isTlsEnabled": true
},
"type": "smtp",
"organizationId": "<string>",
"name": "<string>",
"id": "<string>"
}
}
'{
"credentialsId": "<string>"
}curl --request POST \
--url https://app.enzo.health/api/v1/credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"credentials": {
"data": {
"port": 123,
"from": {
"email": "<string>",
"name": "<string>"
},
"host": "<string>",
"username": "<string>",
"password": "<string>",
"isTlsEnabled": true
},
"type": "smtp",
"organizationId": "<string>",
"name": "<string>",
"id": "<string>"
}
}
'{
"credentialsId": "<string>"
}