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

# Rotate a SIP client's password

> Rotate a SIP client's password. Supply a new `password` or let one be generated; the new password is returned ONCE. The client's SIP URI and expiry are unchanged.



## OpenAPI

````yaml POST /sip-clients/{username}/rotate
openapi: 3.0.3
info:
  title: Daily API
  description: |-
    The Daily REST API offers the ability to manage the following: 
    - Overall Domain Configuration
    - Individual Room creation and config management 
    - Meeting token creation and validation
    - Recording and compositing management 
    - Meeting analytics
    - Logs and metrics
    - Real-time presence

    Please reach out to help@daily.co if we can help with anything
  version: 1.1.1
  contact:
    name: Daily
    url: https://docs.daily.co
    email: help@daily.co
servers:
  - url: https://api.daily.co/v1
security:
  - bearerAuth: []
paths:
  /sip-clients/{username}/rotate:
    post:
      tags:
        - dialin
      summary: /sip-clients/{username}/rotate
      description: >-
        Rotate a SIP client's password. Supply a new `password` or let one be
        generated; the new password is returned ONCE. The client's SIP URI and
        expiry are unchanged.
      operationId: RotateSipClient
      parameters:
        - name: username
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                password:
                  type: string
                  description: >-
                    Optional. 12-64 chars with at least one letter and one
                    digit. If omitted, a new password is generated.
      responses:
        '200':
          description: The client with its new password (returned only here).
          content:
            application/json:
              schema:
                type: object
                properties:
                  username:
                    type: string
                  domain:
                    type: string
                  sip_uri:
                    type: string
                  password:
                    type: string
                  expires_at:
                    type: string
                    format: date-time
                    nullable: true
        '404':
          description: No such SIP client in your domain.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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