openapi: 3.1.0 info: title: Cisco Expressway Configuration Admin Account API description: RESTful API for configuring and managing Cisco Expressway systems including zones, search rules, transforms, DNS servers, NTP servers, SFTP configuration, system upgrades, and admin account management. The API uses JSON Schema version 4 for request and response schemas and is self-documented via RAML definitions available at /api/raml on the Expressway system. All endpoints require HTTPS and HTTP Basic Authentication using Expressway administrator credentials. version: 14.2.0 contact: name: Cisco TAC email: tac@cisco.com url: https://www.cisco.com/c/en/us/support/unified-communications/expressway-series/tsd-products-support-series-home.html license: name: Cisco EULA url: https://www.cisco.com/c/en/us/about/legal/cloud-and-software/end_user_license_agreement.html x-logo: url: https://www.cisco.com/c/dam/en/us/products/collateral/unified-communications/expressway-series/datasheet-c78-733751.jpg servers: - url: https://{host}/api description: Cisco Expressway server variables: host: default: expressway.example.com description: The FQDN or IP address of the Cisco Expressway node. The API is only accessible via HTTPS. security: - basicAuth: [] tags: - name: Admin Account description: Administrator account management paths: /v1/provisioning/common/adminaccount/changepassword: post: operationId: changeAdminPassword summary: Cisco Expressway Change administrator password description: Changes the password for an administrator account on the Expressway. Requires the current password and the new password. tags: - Admin Account requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ChangePasswordRequest' responses: '200': description: Password changed successfully '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' components: responses: Unauthorized: description: Authentication credentials are missing or invalid. The API requires HTTP Basic Authentication with administrator credentials over HTTPS. content: application/json: schema: $ref: '#/components/schemas/Error' BadRequest: description: The request body contains invalid data or missing required fields. content: application/json: schema: $ref: '#/components/schemas/Error' Forbidden: description: The authenticated user does not have sufficient permissions for this operation. content: application/json: schema: $ref: '#/components/schemas/Error' schemas: ChangePasswordRequest: type: object description: Request body for changing an administrator password properties: Username: type: string description: Administrator username examples: - admin CurrentPassword: type: string format: password description: Current password for the administrator account NewPassword: type: string format: password description: New password for the administrator account required: - Username - CurrentPassword - NewPassword Error: type: object description: Standard error response from the Expressway API properties: error: type: string description: Error code or type message: type: string description: Human-readable error description securitySchemes: basicAuth: type: http scheme: basic description: HTTP Basic Authentication using Expressway administrator credentials. The API is only accessible via HTTPS. externalDocs: description: Cisco Expressway REST API Summary Guide (X14.2) url: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/expressway/admin_guide/X14-2/rest-api/exwy_b_cisco-expressway-rest-api-summary-guide--x142/exwy_m_using-the-expressway-rest-api.html