Mock API Admin
Endpoints
Ads (data)
Images
Settings
POST
/v1/withdraw
退会実行(パスワード検証+最終確認) — auth:
required
Request example
{ "password": "sample" }
Response served by default
204 — 退会完了。**完了画面は無い**(デザイン確定)。クライアントは COMMON_SPEC §1.2 の
400 — パスワードの不一致・欠落。**認証(Bearer)は成立しているので 401 は使わない**
401 — 認証エラー(401)。トークン検証段が返すもの。
409 — 当該会員のアンケート回答レコードが 1 件も無い。クライアントは SCR_WITHDRAW_SURVEY へ戻す。
500 — サーバ内部エラー(500)
Delay (ms, 0 = global default)
Status 204
退会完了。**完了画面は無い**(デザイン確定)。クライアントは COMMON_SPEC §1.2 の
Insert image URL at cursor:
Status 400
パスワードの不一致・欠落。**認証(Bearer)は成立しているので 401 は使わない**
{ "error_code": "PASSWORD_INCORRECT", "message": "パスワードが正しくありません。", "details": [ { "field": "password", "reason": "password_incorrect", "message": "パスワードが正しくありません。" } ] }
Insert image URL at cursor:
Status 401
認証エラー(401)。トークン検証段が返すもの。
Alternates (via
?_example=
): token_expired
{ "error_code": "UNAUTHORIZED", "message": "認証が必要です。" }
Insert image URL at cursor:
Status 409
当該会員のアンケート回答レコードが 1 件も無い。クライアントは SCR_WITHDRAW_SURVEY へ戻す。
{ "error_code": "SURVEY_NOT_SUBMITTED", "message": "退会アンケートへのご回答が確認できません。最初からお手続きをやり直してください。" }
Insert image URL at cursor:
Status 500
サーバ内部エラー(500)
{ "error_code": "INTERNAL_ERROR", "message": "ただいま混雑しております。時間を置いて再度お試しください。" }
Insert image URL at cursor:
Save
Back
Reset to spec