{"__v":0,"_id":"552748c4bf3df9230068f7aa","category":{"__v":4,"_id":"55274588975eef3700ca8077","pages":["552748c4bf3df9230068f7aa","55274aed9d4bcd2300d0383f","55274d4293f6062d00f316c8","55274d7193f6062d00f316c9"],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T03:37:44.920Z","from_sync":false,"order":8,"slug":"theme-api","title":"THEME API"},"editedParams":true,"editedParams2":true,"project":"545a65231d018b1400227d8f","user":"545a64cfbf1d2b0e00aaa091","version":{"__v":10,"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-10T03:51:32.212Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"put","results":{"codes":[{"name":"","code":"","language":"json","status":204}]},"auth":"required","params":[{"_id":"552748c4bf3df9230068f7ab","ref":"","in":"body","required":false,"desc":"The theme id","default":"","type":"int","name":"ID"},{"_id":"54e56a19c2f66835000133c0","ref":"","in":"body","required":false,"desc":"The name of the theme (internal use only)","default":"","type":"string","name":"Name"},{"_id":"54e56a19c2f66835000133bf","ref":"","in":"body","required":false,"desc":"Page background colour (valid hex value)","default":"D0CBCB","type":"string","name":"PageBackgroundRGB"},{"_id":"54ffd2d9179d042d00514eb4","ref":"","in":"body","required":false,"desc":"Header background colour (valid hex value)","default":"f9f9f9","type":"string","name":"HeaderBackgroundRGB"},{"_id":"54ffd2d9179d042d00514ea9","ref":"","in":"body","required":false,"desc":"Header text colour (valid hex value)","default":"575757","type":"string","name":"HeaderTextRGB"},{"_id":"55273cf2975eef3700ca8072","ref":"","in":"body","required":false,"desc":"Text heading colour (valid hex value)","default":"666666","type":"string","name":"TextHeadingsRGB"},{"_id":"55273cf2975eef3700ca8071","ref":"","in":"body","required":false,"desc":"Small headings colour (valid hex value)","default":"575757","type":"string","name":"SmallHeadingRGB"},{"_id":"55273cf2975eef3700ca806b","ref":"","in":"body","required":true,"desc":"The theme status","default":"active","type":"string","name":"Status"}],"url":"/theme/:theme_id"},"isReference":false,"order":3,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X PUT  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" -H \\\"Cache-Control: no-cache\\\"  -d '{\\n\\t\\\"Theme\\\": {\\n\\t\\t\\t\\t\\\"Name\\\": \\\"Test theme\\\",\\n\\t\\t\\t\\t\\\"HeaderBackgroundRGB\\\": \\\"ff0000\\\",\\n\\t\\t\\t\\t\\\"HeaderTextRGB\\\": \\\"00ff00\\\",\\n\\t\\t\\t\\t\\\"PageBackgroundRGB\\\": \\\"0000ff\\\",\\n\\t\\t\\t\\t\\\"SmallHeadingRGB\\\": \\\"0a0a0a\\\",\\n\\t\\t\\t\\t\\\"Status\\\": \\\"active\\\",\\n\\t\\t\\t\\t\\\"TextHeadingsRGB\\\": \\\"cc0000\\\"\\n\\t\\t\\t}\\n}' https://api.attendly.net/v2/theme/234\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Update a theme","slug":"theme-update","type":"endpoint","title":"Theme update"}

putTheme update

Update a theme

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

ID:
integer
The theme id
Name:
string
The name of the theme (internal use only)
PageBackgroundRGB:
stringD0CBCB
Page background colour (valid hex value)
HeaderBackgroundRGB:
stringf9f9f9
Header background colour (valid hex value)
HeaderTextRGB:
string575757
Header text colour (valid hex value)
TextHeadingsRGB:
string666666
Text heading colour (valid hex value)
SmallHeadingRGB:
string575757
Small headings colour (valid hex value)
Status:
required
stringactive
The theme status

Documentation

[block:code] { "codes": [ { "code": "curl -X PUT -u \"testuser:moy1zZCscHpx7ei8CzNA\" -H \"Cache-Control: no-cache\" -d '{\n\t\"Theme\": {\n\t\t\t\t\"Name\": \"Test theme\",\n\t\t\t\t\"HeaderBackgroundRGB\": \"ff0000\",\n\t\t\t\t\"HeaderTextRGB\": \"00ff00\",\n\t\t\t\t\"PageBackgroundRGB\": \"0000ff\",\n\t\t\t\t\"SmallHeadingRGB\": \"0a0a0a\",\n\t\t\t\t\"Status\": \"active\",\n\t\t\t\t\"TextHeadingsRGB\": \"cc0000\"\n\t\t\t}\n}' https://api.attendly.net/v2/theme/234", "language": "curl" } ] } [/block]