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

# Link Password Authentication

> Adds password authentication to an account that was created with a third-party provider



## OpenAPI

````yaml POST /auth/link-password
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /auth/link-password:
    post:
      summary: Link Password Authentication
      description: >-
        Adds password authentication to an account that was created with a
        third-party provider
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkPasswordRequest'
      responses:
        '200':
          description: Password authentication added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
        '400':
          description: Bad request or password already linked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LinkPasswordRequest:
      type: object
      required:
        - password
      properties:
        password:
          type: string
          format: password
          description: The password to link to the account
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````