Files
octoprint-open-api/openapi/paths/access/users/{username}-settings-patch.yaml
2020-11-04 00:02:26 +01:00

26 lines
611 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
summary: Update a user’s settings
operationId: updateUserSettings
tags:
- User
description: >-
Retrieves a user’s settings.
Will return a 200 OK with a JSON object representing the user’s personal settings (if any) as body.
parameters:
- $ref: ../../../components/parameters/username.yaml
requestBody:
content:
application/json:
schema:
type: object
additionalProperties: true
responses:
"204":
description: >-
Settings updated
"403":
description: >-
No admin rights and not logged in as the user
"404":
description: >-
Unknown user