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

# Set resume lock status

> Toggles the locked status of a resume. When locked, a resume cannot be updated, patched, or deleted. Useful for protecting finalized resumes from accidental edits. Requires authentication.



## OpenAPI

````yaml /spec.json post /resumes/{id}/lock
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 5.1.0
  description: Reactive Resume API
  license:
    name: MIT
    url: https://github.com/amruthpillai/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: hello@amruthpillai.com
    url: https://amruthpillai.com
servers:
  - url: http://localhost:3000/api/openapi
security:
  - apiKey: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /resumes/{id}/lock:
    post:
      tags:
        - Resumes
      summary: Set resume lock status
      description: >-
        Toggles the locked status of a resume. When locked, a resume cannot be
        updated, patched, or deleted. Useful for protecting finalized resumes
        from accidental edits. Requires authentication.
      operationId: setResumeLocked
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the resume.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                isLocked:
                  type: boolean
                  description: Whether the resume is locked.
              required:
                - isLocked
      responses:
        '200':
          description: The resume lock status was updated successfully.
          content:
            application/json:
              schema:
                anyOf:
                  - not: {}
                  - not: {}
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.

````