curl --location --request PATCH '/api/dialogs//agent' \
--header 'X-Session-Id;' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data-raw '{
"agent_id": "550e8400-e29b-41d4-a716-446655440002"
}'{
"error": {
"name": "validation.failed",
"msg": "Validation failed",
"data": {},
"validator_error": [
{
"property": "email",
"constraints": {
"isEmail": "email must be an email"
}
}
]
}
}