
User
Uploaded at
App
Gyazo
Source
スクリーンショット 2024-03-18 23.20.08.png
OCR
Laravel
Overview
ENDPOINTS
ユーザーの退会
DELETE
http://localhost/api/v1/withdrawal
Auth
◎ ログイン
POST
ユーザーの退会を実行します。 退会が完了したらメールを送信します。
◎ユーザー情報の登録
POST
◎ ログアウト
POST
Request
◎ユーザーの退会
DELETE
Notices
>
Security: Bearer Auth
Users
<
SCHEMAS
AgeGroup
Gender
☑
0
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Body
withdrawal type integer
Allowed values: 12
withdrawal reason string
Responses
204 403
422
No content
Body
application/json
required
required
application/json
Auth
Token 6|FB8rlKe4RSKPdkbW
▼▾ Body
1
{
"withdrawal_type": 1,
4
}
"withdrawal reason": "string"
Send API Request
68
Request Sample: Kotlin
val client = OkHttpClient()
val request = Request.Builder()
.url("http://localhost/api/v1/withdrawal")
.delete(null)
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer 6 | FB8rlKe4RSKPdkbWYGr234
.build()
val response = client.newCall (request).execute()