跳转到主要内容
POST
POST /portal/api/password

授权

gproxy_session
string
cookie
必填

请求体

application/json

A portal password change.

current is required when the account has a password and refused when it does not: an OAuth-only account has nothing to prove, and asking it for a password it never set would be unanswerable.

new
string
必填
current
string | null

响应

Success without a response body