curl --request PUT \
--url https://cloud.onyx.app/api/manage/admin/credential/swap \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"new_credential_id": 123,
"connector_id": 123,
"access_type": "public"
}
'