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

# Set must change password

> Requires a person to choose a new password on their next login, or lifts that requirement.

> [!WARNING]
>
> This endpoint is in preview: it may change without notice until it becomes part of a stable version.


## OpenAPI

````yaml preview post /api/security/credentials.set-must-change-password
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Expenses
    description: Expenses
  - name: Schedule
    description: Schedule
  - name: Security
    description: Security
  - name: Timeclock
    description: Timeclock
paths:
  /api/security/credentials.set-must-change-password:
    post:
      tags:
        - Security
      summary: Set must change password
      description: >-
        Requires a person to choose a new password on their next login, or lifts
        that requirement.
      operationId: post_app_ui_api_security_credentialscommand_setmustchangepassword
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetCredentialsMustChangePasswordCommand'
      responses:
        '204':
          description: Credential must change password set.
components:
  schemas:
    SetCredentialsMustChangePasswordCommand:
      required:
        - must_change_password
        - resource_id
      properties:
        must_change_password:
          description: >-
            True requires a new password on the next login, false lifts that
            requirement. An expired password must still be changed, whatever the
            value.
          type: boolean
        resource_id:
          $ref: '#/components/schemas/Snowflake'
          description: >-
            Refused on a person who is not an employee, on one's own account,
            and on an account without a username or a password.
      type: object
      additionalProperties: false
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'

````

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