Update the deal's settings
/deals/{deal_id}/settingsChanges the communication and secondaries switches you send and returns all the settings; omitted switches keep their value. deal_id, entrepreneur, any other group, an unknown or wrong-group switch or a non-boolean value returns 422. dry_run shows the result without saving. Emits deal_settings.updated with the changed groups in changed_fields, only when something changed; sends no email. Sending the old values undoes it.
Path parameters
The deal's id, a uuid. An unknown deal, or one the token can't see, returns 404.
Query parameters
Validate and run the call without committing it, returning what the real call would return with
meta.dry_runset.
Request body
application/json, required · DealSettingsUpdate
Send only the switches you change.
Send only the switches you change.
{
"communication": {
"enable_q_and_a": false
},
"secondaries": {
"enable_secondary_investments": true
}
}Responses
{
"data": {
"deal_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"communication": {
"enable_due_diligence": true,
"enable_enquiries": true,
"enable_meet_management": true,
"enable_q_and_a": true
},
"secondaries": {
"enable_secondary_investments": true,
"show_outside_availability_window": true
},
"entrepreneur": {
"enable_delegate_deal_entrepreneur": true,
"enable_delegate_all_investors_deal_entrepreneur": true,
"enable_analytics_entrepreneur": true,
"enable_bookbuilding_entrepreneur": true,
"enable_deal_status_entrepreneur": true,
"enable_documents_entrepreneur": true,
"enable_due_diligence_entrepreneur": true,
"enable_enquiries_entrepreneur": true,
"enable_key_contacts_entrepreneur": true,
"enable_meet_management_entrepreneur": true,
"enable_per_deal_settings_entrepreneur": true,
"enable_q_and_a_entrepreneur": true,
"enable_transaction_manangement_entrepreneur": true
}
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl -X PATCH https://your-org-domain/kong/core/api/v2/deals/{deal_id}/settings\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"\
-d '{
"communication": {
"enable_q_and_a": false
},
"secondaries": {
"enable_secondary_investments": true
}
}'