curl --request PUT \
--url https://cloud.onyx.app/api/manage/connector/{connector_id}/credential/{credential_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"access_type": "public",
"name": "<string>",
"auto_sync_options": {},
"groups": [
123
]
}
'