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

# Replace resume sections

> Replace all sections of a resume with the provided ordered list of sections.



## OpenAPI

````yaml put /resume/{id}/
openapi: 3.0.3
info:
  title: Letraz Backend Server
  version: 0.1.0
  description: >-
    This is the backend service repository of Letraz. Create tailored resumes
    for every job application effortlessly with Letraz. Our AI-powered tool
    helps you stand out by automatically optimizing your resume for ATS and
    recruiters, ensuring your skills and experience match the job's
    requirements.
servers:
  - url: https://api.letraz.app/api/v1
    description: Production Server
  - url: http://localhost:8000/api/v1
    description: Local Development Server
security: []
tags:
  - name: Core APIs
    description: Core APIs for Letraz Backend
  - name: Waitlist
    description: >-
      Mange waitlist, signups, retrieve waitlist and everything related to
      waitlist
  - name: User
    description: Get or update user details of currently logged in user
  - name: Job object
    description: >-
      Manage job objects, retrieve job objects and everything related to job
      objects
  - name: Resume object
    description: >-
      Manage resume objects, retrieve resume objects and everything related to
      resume objects
  - name: Education object
    description: >-
      Manage education objects, retrieve education objects and everything
      related to education objects
  - name: Experience object
    description: >-
      Manage experience objects, retrieve experience objects and everything
      related to experience objects
paths:
  /resume/{id}/:
    put:
      tags:
        - Resume object
      summary: Replace resume sections
      description: >-
        Replace all sections of a resume with the provided ordered list of
        sections.
      operationId: resume_update
      parameters:
        - in: path
          name: id
          schema:
            type: string
          description: Resume ID
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResumeReplace'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ResumeReplace'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ResumeReplace'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResumeFull'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: ''
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: ''
      security:
        - basicAuth: []
        - cookieAuth: []
        - cookieAuth: []
components:
  schemas:
    ResumeReplace:
      type: object
      description: Serializer for replacing an entire resume's sections in one request.
      properties:
        sections:
          type: array
          items:
            $ref: '#/components/schemas/ResumeReplaceSection'
          description: >-
            Ordered list of sections that will fully replace the resume's
            sections
          minItems: 1
      required:
        - sections
    ResumeFull:
      type: object
      properties:
        id:
          type: string
          readOnly: true
          description: The unique identifier for the resume entry.
        base:
          type: boolean
          default: false
          description: 'Whether the resume is a base resume for the user. One user can '
        user:
          type: string
          readOnly: true
        job:
          type: string
          readOnly: true
        status:
          type: string
          readOnly: true
        sections:
          type: string
          readOnly: true
        thumbnail:
          type: string
          format: uri
          nullable: true
          maxLength: 200
      required:
        - id
        - job
        - sections
        - status
        - user
    ErrorEnvelope:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
    ResumeReplaceSection:
      type: object
      description: |-
        Incoming section payload for replacing a resume.
        This is intentionally permissive on the nested data to allow clients
        to send the same structure produced by tailoring callbacks.
      properties:
        type:
          enum:
            - Skill
            - Experience
            - Education
            - Project
            - Certification
          type: string
          description: |-
            * `Skill` - Skill
            * `Experience` - Experience
            * `Education` - Education
            * `Project` - Project
            * `Certification` - Certification
          x-spec-enum-id: 707a2269f413cecf
        data:
          type: object
          additionalProperties: {}
      required:
        - type
    Error:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          description: >-
            The unique identifier for the error response. This is useful for
            tracking the error in the logs and in Sentry if it is enabled.
        code:
          type: string
          description: >-
            The error code that is unique to the error type. This can be used to
            identify the error type and can be used for debugging.
        message:
          type: string
          description: >-
            The error message that is human readable and can be used to
            understand the error. Usually fit to be displayed to the user.
        details:
          type: string
          description: >-
            The error details that can be used to understand the error in more
            detail. This can be used for debugging purposes.
        extra:
          type: string
          description: >-
            The extra data that can be used to understand the error in more
            detail. This is usually not displayed to the user and might include
            stacktrace and sensitive information.
      required:
        - code
        - details
        - extra
        - message
        - uuid
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid

````