Multipart upload of logos, favicon, background, and product name. All fields optional. Only provided fields are updated. Requires rebranding to be enabled for the organization.
PUT
/rebranding/{org_id}/products/{product_id}
curl \
--request PUT 'https://api.your-domain.com/api/rebranding/{org_id}/products/{product_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: multipart/form-data" \
--form "product_name=string" \
--form "logo_light_rect=@file" \
--form "logo_dark_rect=@file" \
--form "logo_light_square=@file" \
--form "logo_dark_square=@file" \
--form "favicon=@file" \
--form "background_image=@file"
Response examples (400)
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "username",
"message": "required",
"value": "string"
}
]
}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}