Skip to main content

Update a Stakeholder (partial)

Partial Update — PATCH

Partially updates a stakeholder.

Important: When updating a list (e.g. contactsDetails), you must send the full updated list including existing items. This is a replace operation on the field, not an append.

In the example below, 3 existing contacts are preserved and 1 new contact is added:

curl --location --request PATCH 'https://api.stonal.io/datalake/v1/organizations/$organization/stakeholders/f2f6dbe5-8bb6-46a9-9684-41ca61c8b9db' \
--header 'Authorization: Bearer $token' \
--header 'Content-Type: application/json' \
--data-raw '{
"contactsDetails": [
{
"email": "laurent@stonal.com",
"creationDate": "2025-11-26"
},
{
"email": "lolo@stonal.com",
"creationDate": "2025-11-26"
},
{
"email": "lo@stonal.com",
"creationDate": "2025-11-27"
},
{
"email": "zae@stonal.com"
}
]
}'