image-data or a file part to replace the image, and filename to rename it. The asset type comes from the path.image-data holds the image as base64.multipart/form-data body with the image in a part named file, and the other fields as text parts. The part's file name becomes filename unless you send one.width and height on its root element. mime-type, width, height, and file-size-bytes are read from the image.202: the change is accepted and applied shortly after.Authorization: Bearer ********************curl --location --request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//brands/portal.example.com/Blue Theme/assets/logo' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image-data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==",
"filename": "logo-2026.png"
}'{
"code": 202,
"message": "Accepted"
}