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

# Protect a section of a sensor with a password.



## OpenAPI

````yaml docs/avxcelerate/sensors-rest-api/sensors_v8_261.json PUT /avx-sensorlabs/v8/{id}/protect
openapi: 3.0.4
info:
  title: Sensors
  description: >-
    The Sensors REST API allows you to manage your Sensors Library, create new
    sensor assets or update existing ones, and download sensor assets as files.
  version: v8
servers: []
security: []
paths:
  /avx-sensorlabs/v8/{id}/protect:
    put:
      tags:
        - Sensors
      summary: Protect a section of a sensor with a password.
      parameters:
        - name: id
          in: path
          description: Unique identifier of sensor in the library.
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          multipart/form-data:
            schema:
              required:
                - password
                - section
              type: object
              properties:
                password:
                  type: string
                  description: >-
                    Password used to protect a sensor for a specific section: it
                    must be between 8 and 12 characters in length, and must
                    contain at least one lowercase letter, one uppercase letter,
                    one number, and one special character.
                  default: ''
                section:
                  $ref: >-
                    #/components/schemas/Pre.Sensors.v8.Data.SensorProtectionMode
            encoding:
              password:
                style: form
              section:
                style: form
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response.ProblemDetails'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response.ProblemDetails'
components:
  schemas:
    Pre.Sensors.v8.Data.SensorProtectionMode:
      enum:
        - CameraImager
        - CameraLens
        - CameraDefaultPostProcessing
        - CameraSensorOutput
        - RadarAntenna
        - RadarMode
        - AllComponents
      type: string
    Response.ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}

````