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

# Archive feature

> Archive an entitlement feature.



## OpenAPI

````yaml put /v1/features/{code}/archive
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/features/{code}/archive:
    put:
      tags:
        - Features
      summary: Archive feature
      description: Archive an entitlement feature.
      operationId: archiveFeature
      parameters:
        - schema:
            type: string
          required: true
          name: code
          in: path
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feature'
        '404':
          description: Entitlement feature not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  schemas:
    Feature:
      type: object
      properties:
        code:
          type: string
          description: Feature code.
          example: sso
        name:
          type: string
          description: Feature name.
          example: Single sign-on
        description:
          type:
            - string
            - 'null'
          description: Feature description.
          example: Allow users to authenticate with SAML SSO.
        value_type:
          type: string
          enum:
            - boolean
            - number
          description: Type of entitlement value.
        resolution_strategy:
          type:
            - string
            - 'null'
          enum:
            - max
            - sum
            - replace
          description: >-
            Strategy used to combine multiple product entitlements for number
            features.
          example: null
        default_value:
          anyOf:
            - type: boolean
            - type: number
          description: Default value used when no product or customer entitlement applies.
          example: false
        status:
          type: string
          enum:
            - active
            - archived
          description: Feature status.
          example: active
        created_at:
          type: string
          format: date-time
          description: Creation date.
          example: '2024-12-20T16:04:11Z'
        updated_at:
          type: string
          format: date-time
          description: Last update date.
          example: '2024-12-20T16:04:11Z'
        archived_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Archival date.
          example: null
      required:
        - code
        - name
        - description
        - value_type
        - resolution_strategy
        - default_value
        - status
        - created_at
        - updated_at
        - archived_at
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````