patch: tags: [Notes] summary: Change note's password security: - Bearer: [] parameters: - name: slug in: path required: true schema: type: string requestBody: required: true content: application/json: schema: type: object properties: password: type: string example: newPassword responses: '200': description: Note updated '400': $ref: '../../components/responses/ErrorResponse.yml' '401': description: Unauthorized '404': $ref: '../../components/responses/NoteNotFound.yml'