コンテンツにスキップ

パスワード変更・設定

POST
/dashboard/account/change-password

パスワードを変更する。既にパスワードが設定されている場合は currentPassword が必要。 OAuthユーザーが初めてパスワードを設定する場合は currentPassword は不要。

object
currentPassword

既存パスワードがある場合に必要

string
newPassword
required
string
>= 8 characters <= 128 characters

パスワード更新成功

object
ok
boolean
message
string

バリデーションエラー / 現在のパスワードが不正

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400
upgradeUrl

URL to upgrade plan (only present for plan limit errors)

string
Example
https://app.manako.dev/billing

レート制限 (1時間に5回まで)

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400
upgradeUrl

URL to upgrade plan (only present for plan limit errors)

string
Example
https://app.manako.dev/billing