openapi: 3.0.3
info:
  title: Administration API
  description: The Administration API for Providence Technology Corp.
  version: '3.0'
  license:
    name: EULA
    url: 'https://www.provenancetechnology.io/eula'
  contact:
    name: Timothy Neill
    email: tim.neill@provenancetechnology.io
    url: 'https://provenancetechnology.io'
  x-json-schema-faker:
    locale: en
    min-items: 2
    max-items: 20
    resolve-json-path: true
tags:
  - name: Account
    description: The Account endpoints
  - name: Manufacturer
    description: The Manufacturer endpoints
  - name: Product
    description: The Product endpoints
  - name: Production
    description: The Production endpoints
  - name: UserAuthentication
    description: The UserAuthentication endpoints
servers:
  - url: 'https://admin.api.provenancetechnology.dev/{version}'
    description: Development
    variables:
      version:
        enum:
          - v1
          - v2
          - v3
        default: v3
paths:
  /manufacturers:
    get:
      summary: Get a list of Manufacturers
      description: |-
        Gets a list of Manufacturers. 

        The sort propertyNames are:
        - CREATED
        - NAME (default: ASC)

        Required Permission: Administrator.READ
      operationId: get-manufacturers
      tags:
        - Manufacturer
      parameters:
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/page--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/size--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/sort--query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      content:
                        type: array
                        items:
                          $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Manufacturer
                        readOnly: true
                  - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Pagination
                readOnly: true
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
    post:
      summary: Add a Manufacturer
      description: |-
        Adds a Manufacturer.

        Required Permission: Administrator.WRITE
      operationId: post-manufacturers
      tags:
        - Manufacturer
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Manufacturer--POST
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
  '/manufacturers/{manufacturerId}':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
    get:
      summary: Get a Manufacturer
      description: |-
        Get a Manufacturer. 

        Required Permission: Administrator.READ
      operationId: get-manufacturers-manufacturerId
      tags:
        - Manufacturer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Manufacturer
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
    delete:
      summary: Delete a Manufacturer
      description: |-
        Deletes a Producer. 

        Required Permission: Administrator.ADMIN
      operationId: delete-manufacturers-manufacturerId
      tags:
        - Manufacturer
      responses:
        '200':
          description: OK
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
    patch:
      summary: Update a Manufacturer
      description: |-
        Updates a Manufacturer. 

        Required Permission: Administrator.WRITE
      operationId: patch-manufacturers-manufacturerId
      tags:
        - Manufacturer
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Manufacturer--PATCH
        '304':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotModified
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
  '/manufacturers/{manufacturerId}/products':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
    get:
      summary: Get a list of Products
      operationId: get-manufacturers-manufacturerId-products
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      content:
                        type: array
                        items:
                          $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Product
                        readOnly: true
                  - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Pagination
                readOnly: true
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Gets a list of Products. 

        The sort propertyNames are:
        - NAME (default: ASC)

        Required Permission: Administrator.READ
      parameters:
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/page--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/size--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/sort--query
      tags:
        - Product
    post:
      summary: Add a Product
      operationId: post-manufacturers-manufacturerId-products
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Product
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Adds a Product.

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
      tags:
        - Product
  '/manufacturers/{manufacturerId}/products/{productId}':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productId--path
    get:
      summary: Get a Product
      operationId: get-manufacturers-manufacturerId-products-productId
      tags:
        - Product
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Product
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Get a Product. 

        Required Permission: Administrator.READ
      parameters: []
    delete:
      summary: Delete a Product
      operationId: delete-manufacturers-manufacturerId-products-productId
      responses:
        '200':
          description: OK
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Deletes a Product. 

        Required Permission: Administrator.WRITE
      tags:
        - Product
    patch:
      summary: Update a Product
      operationId: patch-manufacturers-manufacturerId-products-productId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Product
        '304':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotModified
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Updates a Product. 

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
        description: ''
      tags:
        - Product
  '/manufacturers/{manufacturerId}/products/{productId}/productions':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productId--path
    get:
      summary: Get a list of Productions
      operationId: get-manufacturers-manufacturerId-products-productId-productions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      content:
                        type: array
                        items:
                          $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Production
                        readOnly: true
                  - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Pagination
                readOnly: true
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Gets a list of Productions. 

        The sort propertyNames are:
        - NAME (default: ASC)

        Required Permission: Administrator.READ
      parameters:
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/page--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/size--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/sort--query
      tags:
        - Production
    post:
      summary: Add a Production
      operationId: post-manufacturers-manufacturerId-products-productId-productions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Production
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Adds a Production.

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/NumberOfUnits
      tags:
        - Production
  '/manufacturers/{manufacturerId}/products/{productId}/productions/{productionId}':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productionId--path
    get:
      summary: Get a Production
      operationId: get-manufacturers-manufacturerId-products-productId-production-productionId
      tags:
        - Production
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Production
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Get a Production. 

        Required Permission: Administrator.READ
      parameters: []
    delete:
      summary: Delete a Production
      operationId: delete-manufacturers-manufacturerId-products-productId-production-productionId
      responses:
        '200':
          description: OK
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Deletes a Production. 

        Required Permission: Administrator.WRITE
      tags:
        - Production
    patch:
      summary: Update a Production
      operationId: patch-manufacturers-manufacturerId-products-productId-production-productionId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Production
        '304':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotModified
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Updates a Product. 

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/ProductionStatus
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Name
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/NumberOfUnits
      tags:
        - Production
  '/manufacturers/{manufacturerId}/products/{productId}/productions/{productionId}/production-images':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productionId--path
    post:
      summary: Adds a ProductionImage
      operationId: get-manufacturers-manufacturerId-products-productId-production-productionId-production-images
      tags:
        - Production
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/ProductionImage
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Adds a ProductionImage. 

        Required Permission: Administrator.WRITE
      parameters: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                image:
                  type: string
                  x-stoplight:
                    id: aoj7w0d9ucdxr
                  format: binary
                  description: The image.
        description: ''
  '/manufacturers/{manufacturerId}/products/{productId}/productions/{productionId}/production-images/{productionImageId}':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productionId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/productionImageId--path
    delete:
      summary: Deletes a ProductionImage
      operationId: delete-manufacturers-manufacturerId-products-productId-production-productionId-production-images-productionImageId
      tags:
        - Production
      responses:
        '200':
          description: OK
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Deletes a ProductionImage. 

        Required Permission: Administrator.WRITE
  '/manufacturers/{manufacturerId}/user-authentications':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
    get:
      summary: Get a list of UserAuthentications
      operationId: get-manufacturers-manufacturerId-user-authentications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      content:
                        type: array
                        items:
                          $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/UserAuthentication
                        readOnly: true
                  - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/Pagination
                readOnly: true
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Gets a list of UserAuthentications. 

        The sort propertyNames are:
        - NAME (default: ASC)

        Required Permission: Administrator.READ
      parameters:
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/page--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/permission--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/size--query
        - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/sort--query
      tags:
        - UserAuthentication
    post:
      summary: Add a UserAuthentication
      operationId: post-manufacturers-manufacturerId-user-authentications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/UserAuthentication
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Adds a UserAuthentications.

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/UserAuthentication--POST
      tags:
        - UserAuthentication
  '/manufacturers/{manufacturerId}/user-authentications/{userAuthenticationId}':
    parameters:
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/manufacturerId--path
      - $ref: ./io-provtech-api-rest-common.yaml#/components/parameters/userAuthenticationId--path
    delete:
      summary: Delete a UserAuthentications
      operationId: delete-manufacturers-manufacturerId--user-authentications-userAuthenticationId
      responses:
        '200':
          description: OK
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Deletes a UserAuthentication. 

        Required Permission: Administrator.WRITE
      tags:
        - UserAuthentication
    patch:
      summary: Update a UserAuthentication
      operationId: patch-manufacturers-manufacturerId--user-authentications-userAuthenticationId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/UserAuthentication
        '304':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotModified
        '400':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/BadRequest
        '401':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Unauthorized
        '403':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Forbidden
        '404':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/NotFound
        '423':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/Locked
        '503':
          $ref: ./io-provtech-api-rest-common.yaml#/components/responses/ServiceUnavailable
      description: |-
        Updates a UserAuthentication. 

        Required Permission: Administrator.WRITE
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: ./io-provtech-api-rest-common.yaml#/components/schemas/UserAuthentication--PATCH
        description: ''
      tags:
        - UserAuthentication
security: []
