Skip to navigation

Create a style profile

View as Markdown

Creates a profile: logo, colours, fonts, page, heading and table rules. Every field but name has a default, so the smallest legal body is {"name": "House style"} and it already composes. isDefault: true clears the flag on every other profile. Authorization: org admin.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired1-120 characters
logoFileIdstring or nullOptional1-128 characters
colorsobjectOptionalDefaults to {}
fontsobjectOptionalDefaults to {}
pageobjectOptionalDefaults to {}
headingsobjectOptionalDefaults to {}
tableobjectOptionalDefaults to {}
isDefaultbooleanOptionalDefaults to false

Response

The new profile.
dataobject

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error