mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2025-10-16 11:45:38 +00:00
30 lines
660 B
YAML
30 lines
660 B
YAML
summary: Change user password
|
||
operationId: changeUserPassword
|
||
tags:
|
||
- User
|
||
description: >-
|
||
Changes the password of a user.
|
||
parameters:
|
||
- $ref: ../../../components/parameters/username.yaml
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
type: object
|
||
properties:
|
||
password:
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: >-
|
||
Password was updated
|
||
"400":
|
||
description: >-
|
||
If the request doesn’t contain a password property or the request is otherwise invalid
|
||
"403":
|
||
description: >-
|
||
No admin rights and not logged in as the user
|
||
"404":
|
||
description: >-
|
||
Unknown user
|