パスワード変更・設定
POST /dashboard/account/change-password
POST
/dashboard/account/change-password
パスワードを変更する。既にパスワードが設定されている場合は currentPassword が必要。
OAuthユーザーが初めてパスワードを設定する場合は currentPassword は不要。
sudoGuard 必須: mk_sudo Cookie または X-Sudo-Token ヘッダーが必要。成功時は既存セッションを失効する。
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Sudo-Token
string
段階移行用の Sudo セッショントークン。通常は POST /dashboard/sudo/verify が発行する mk_sudo HttpOnly Cookie を使用する
Request Body required
Section titled “Request Body required ”object
currentPassword
既存パスワードがある場合に必要
string
newPassword
required
string
Responses
Section titled “ Responses ”パスワード更新成功
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/billingSudo トークン未提供または期限切れ (SUDO_REQUIRED)
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