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

# Update authenticated user password

> Signs the user out of every other browser session and invalidates "remember me" on all devices.
Other OAuth access tokens are revoked as well when revoke_other_tokens is true.



## OpenAPI

````yaml put /v1/account/password
openapi: 3.1.0
info:
  title: Flextell API
  version: 0.0.1
  description: >-
    Flextell REST API referansı. Kimlik doğrulama, scope ve istek kuralları için
    API sekmesindeki rehberlere bakın.
servers:
  - url: https://app.flextell.ai/api
    description: Üretim
security:
  - oauth2: []
  - bearer: []
paths:
  /v1/account/password:
    put:
      tags:
        - Account
      summary: Update authenticated user password
      description: >-
        Signs the user out of every other browser session and invalidates
        "remember me" on all devices.

        Other OAuth access tokens are revoked as well when revoke_other_tokens
        is true.
      operationId: account.password.update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountPasswordUpdateRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                    required:
                      - message
                required:
                  - success
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    AccountPasswordUpdateRequest:
      type: object
      properties:
        current_password:
          type: string
          description: The current account password.
        password:
          type: string
          description: The password.
        revoke_other_tokens:
          type:
            - boolean
            - 'null'
          description: >-
            Whether to also revoke every other OAuth access token (and its
            refresh token) of the account. The token used for this request stays
            valid. Defaults to false.
        password_confirmation:
          type: string
      required:
        - current_password
        - password
        - password_confirmation
      title: AccountPasswordUpdateRequest
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://dev.flextell.ai/oauth/authorize
          tokenUrl: https://dev.flextell.ai/oauth/token
          scopes:
            '*': all
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.