Web Messaging deployment config ignoring custom colors

Trying to set custom colors and launcher position via the deployment API. Sent a PUT request to /api/v2/webmessaging/deployments/{deploymentId} with the config payload. The request returns 200 OK, but the widget still shows default blue. The JSON payload looks correct based on the docs.

{ "config": { "colors": { "primary": "#ff0000" }, "launcher": { "position": "bottom-left" } } }

Is there a cache issue or a specific field I’m missing?

The payload is nested one level too deep. Send the config properties directly in the body root, not inside a config object.

{
 "colors": { "primary": "#ff0000" },
 "launcher": { "position": "bottom-left" }
}

The API expects the top-level keys. Check the swagger definition for PutWebMessagingDeploymentRequest.