Last updated 2 months ago
Update some or all theme colors.
Theme ID
Primary color in hex format
Primary color gradient end in hex format
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/themes/{themeId}/colors', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "success": false, "error": "text" }