Create a license field for a given app.

Required RBAC Policy: kots/app/[:appid]/licensefields/create

Path Params
string
required

App identifier

Body Params
string

Default value of the entitlement field that is to be created.

enumOptions
array of strings

Enum options for the entitlement field (only for Enum type).

enumOptions
boolean
required

Hidden flag of the entitlement field that is to be created.

string
required

Name of the entitlement field that is to be created.

boolean

Required flag of the entitlement field that is to be created.

string
required

Title of the entitlement field that is to be created.

string
required

Type of the entitlement field that is to be created.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json