> ## Documentation Index
> Fetch the complete documentation index at: https://developer.siit.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a Service Form Input

> Updates a field of the request form of a Service. Omitted fields are left unchanged. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml put /v1/services/{service_uid}/custom_form_inputs/{uid}
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/services/{service_uid}/custom_form_inputs/{uid}:
    parameters:
      - name: service_uid
        in: path
        description: The UID of the Service
        required: true
        schema:
          type: string
      - name: uid
        in: path
        description: The UID of the Service Form Input
        required: true
        schema:
          type: string
    put:
      tags:
        - Unstable
        - Service Form Input
      summary: Update a Service Form Input
      description: >-
        Updates a field of the request form of a Service. Omitted fields are
        left unchanged. This endpoint may change or be removed without prior
        notice.
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - attachment
                    - datepicker
                    - number
                    - select
                    - select_application
                    - select_country
                    - select_department
                    - select_equipment
                    - select_legal_entity
                    - select_office_location
                    - select_people
                    - select_team
                    - string
                    - text
                  description: >-
                    The field type. `select` needs `options`;
                    `select_application` needs `available_application_statuses`;
                    `select_people` needs `filters.status_in`. Other `select_*`
                    kinds list company records (departments, equipments, legal
                    entities, office locations, teams, countries) and store the
                    chosen UIDs (ISO 3166-1 alpha-2 codes for countries).
                label:
                  type: string
                  description: The label shown to the requester
                required:
                  type: boolean
                  description: >-
                    Whether the requester must fill the field. Defaults to
                    false.
                multiple:
                  type: boolean
                  description: >-
                    Whether several values can be picked, making the value an
                    array. Defaults to false.
                triggers_app_access:
                  type: boolean
                  description: >-
                    For `select_application` fields: whether picking an
                    application starts an App Access Request. Defaults to false.
                position:
                  type: integer
                  minimum: 0
                  maximum: 2147483647
                  description: >-
                    Zero-based position of the field in the form. Defaults to
                    the end of the form on create.
                options:
                  type: array
                  items:
                    type: string
                    maxLength: 75
                  maxItems: 100
                  description: >-
                    For `select` fields: the distinct choices offered to the
                    requester. Required for `select`.
                available_application_statuses:
                  type: array
                  items:
                    type: string
                    enum:
                      - approved
                      - discovered
                      - restricted
                  description: >-
                    For `select_application` fields: only applications in one of
                    these statuses can be picked. Required for
                    `select_application`.
                filters:
                  type: object
                  description: >-
                    For `select_people` fields: which people can be picked.
                    Required for `select_people`.
                  properties:
                    status_in:
                      type: array
                      items:
                        type: string
                        enum:
                          - alumni
                          - employee
                          - external
                          - hired
                      description: Only people in one of these statuses can be picked.
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    $ref: '#/components/schemas/service_custom_form_input'
                required:
                  - result
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    service_custom_form_input:
      type: object
      properties:
        uid:
          type: string
          readOnly: true
          description: The UID of the custom form input
        kind:
          type: string
          description: The type of the field
          enum:
            - attachment
            - datepicker
            - number
            - select
            - select_application
            - select_country
            - select_department
            - select_equipment
            - select_legal_entity
            - select_office_location
            - select_people
            - select_team
            - string
            - text
        label:
          type: string
          description: The label of the custom form input
        multiple:
          type: boolean
          description: Whether multiple values can be selected
          nullable: true
        options:
          type: array
          description: Available options for select fields
          nullable: true
          items:
            type: string
        required:
          type: boolean
          description: Whether this field is required
        triggers_app_access:
          type: boolean
          description: Whether this field triggers an app access request
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````