Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

createLicense():CreateLicense

Create a new Project License. Requires basic:write scope to be accessible and Project permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateLicenseInput
projectId: ID!

Library Id.

title: String!

License title.

license: String!

License terms.

addByDefault: Boolean = false

Apply License to new assets by default.

requireConsensus: Boolean = false

Require user to accept License terms before download.

Fields of CreateLicense
license:License!

License details.