> ## 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 password

> Sets or updates a password on a resume. When a password is set, viewers of the public resume must enter the password before the resume data is revealed. The password must be between 6 and 64 characters. Requires authentication.



## OpenAPI

````yaml /spec.json put /resumes/{id}/password
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}/password:
    put:
      tags:
        - Resume Sharing
      summary: Set resume password
      description: >-
        Sets or updates a password on a resume. When a password is set, viewers
        of the public resume must enter the password before the resume data is
        revealed. The password must be between 6 and 64 characters. Requires
        authentication.
      operationId: setResumePassword
      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:
                password:
                  type: string
                  minLength: 6
                  maxLength: 64
              required:
                - password
      responses:
        '200':
          description: The resume password was set 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.

````