Create a custom font
put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
Defines a custom font and associated font faces with storage references.
fontFamilystring · min: 1 · max: 50Required
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
Responses
201
Custom font created successfully.
application/json
Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
idstringRequired
A globally unique identifier for the font definition.
custombooleanRequired
Whether the font is a custom font. If false, this font is provided by GitBook.
fontFamilystring · min: 1 · max: 50Required
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
404
Not Found
application/json
412
Invalid request data, such as missing required font weights.
application/json
put/orgs/{organizationId}/fonts
Last updated
Was this helpful?