---
updatedAt: 2026-05-27T20:00:17.000Z
agentTools:
  projectIndex: https://replicated-vendor-api.readme.io/llms.txt
---

# Set a builtin license field value override for a given app and named field.

Required RBAC Policy: kots/app/[:appid]/builtin-licensefields/update

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Create, List, and Fetch apps",
    "title": "Vendor API V3",
    "contact": {
      "name": "Replicated, Inc.",
      "url": "http://www.replicated.com/",
      "email": "info@replicated.com"
    },
    "version": "3.0.0"
  },
  "paths": {
    "/app/{app_id}/builtin-license-field/{field_name}": {
      "post": {
        "security": [
          {
            "api_key": []
          }
        ],
        "description": "Required RBAC Policy: kots/app/[:appid]/builtin-licensefields/update",
        "tags": [
          "apps"
        ],
        "summary": "Set a builtin license field value override for a given app and named field.",
        "operationId": "setBuiltinLicenseFieldOverride",
        "parameters": [
          {
            "x-go-name": "AppID",
            "description": "App identifier",
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "x-go-name": "FieldName",
            "description": "Field name",
            "name": "field_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "value"
                ],
                "properties": {
                  "is_locked": {
                    "description": "Whether the field should be locked. Optional.",
                    "type": "boolean",
                    "x-go-name": "IsLocked"
                  },
                  "value": {
                    "description": "Value of the builtin license field that is to be overridden. Allows empty string.",
                    "type": "string",
                    "x-go-name": "Value"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/setBuiltinLicenseFieldOverrideResponse"
          },
          "400": {
            "$ref": "#/components/responses/responseErrBadRequest"
          },
          "401": {
            "$ref": "#/components/responses/responseErrUnauthorized"
          },
          "403": {
            "$ref": "#/components/responses/responseErrForbidden"
          },
          "404": {
            "$ref": "#/components/responses/responseErrNotFound"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.replicated.com/vendor/v3"
    }
  ],
  "components": {
    "responses": {
      "responseErrBadRequest": {
        "description": "Returned on bad input",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error_code": {
                  "description": "Error code if available",
                  "type": "string",
                  "x-go-name": "ErrorCode"
                },
                "message": {
                  "description": "Error message text if available",
                  "type": "string",
                  "x-go-name": "Message"
                }
              }
            }
          }
        }
      },
      "responseErrForbidden": {
        "description": "Returned if the caller does not have the needed permission",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "x-go-name": "Message"
                    },
                    "messageCode": {
                      "type": "string",
                      "x-go-name": "MessageCode"
                    }
                  },
                  "x-go-name": "Error"
                }
              }
            }
          }
        }
      },
      "responseErrNotFound": {
        "description": "Returned on resource not found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "x-go-name": "Message"
                }
              }
            }
          }
        }
      },
      "responseErrUnauthorized": {
        "description": "Return if the caller is not authorized",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "x-go-name": "Message"
                }
              }
            }
          }
        }
      },
      "setBuiltinLicenseFieldOverrideResponse": {
        "description": "SetBuiltinLicenseFieldOverrideResponse contains the response of the builtin license field override",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "builtin_license_field": {
                  "$ref": "#/components/schemas/BuiltInDefaultLicenseField"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "BuiltInDefaultLicenseField": {
        "type": "object",
        "properties": {
          "FieldName": {
            "type": "string"
          },
          "is_default": {
            "type": "boolean",
            "x-go-name": "IsDefault"
          },
          "is_hidden": {
            "type": "boolean",
            "x-go-name": "IsHidden"
          },
          "is_locked": {
            "type": "boolean",
            "x-go-name": "IsLocked"
          },
          "is_required": {
            "type": "boolean",
            "x-go-name": "IsRequired"
          },
          "title": {
            "type": "string",
            "x-go-name": "Title"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "value": {
            "type": "string",
            "x-go-name": "Value"
          }
        },
        "x-go-package": "github.com/replicatedhq/vandoor/pkg/kots/app/types"
      }
    }
  }
}
```