Main APIAI API
DELETE /ai/account/deactivate
회원 탈퇴
회원 탈퇴
계정을 비활성화(탈퇴)합니다.
| 항목 | 값 |
|---|---|
| 메서드 | DELETE |
| 경로 | /ai/account/deactivate |
| 인증 | 필요 |
| Content-Type | application/json |
이 작업은 되돌릴 수 없습니다.
요청
DELETE /ai/account/deactivate HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
Content-Type: application/json
{
"reason": "탈퇴 사유"
}curl -X DELETE "https://api.glowb.com/ai/account/deactivate" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{"reason": "탈퇴 사유"}'const response = await fetch('/ai/account/deactivate', {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
reason: '탈퇴 사유'
})
});
const result = await response.json();Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
{
"status": 200,
"code": null,
"message": "탈퇴 완료",
"data": null
}