User Profile Img Destroy
입력한 pk의 사용자의 profile_img를 삭제합니다.
URL
/member/<pk>/profile_img/
Method
DELETE
Header
Key | Value | Require |
---|---|---|
Authorization | Token (login 때 받은 token) | True |
Data Params
None
Success Response
HTTP Status code202
content
{
"detail": "유저의 프로필 이미지가 삭제되었습니다."
}
Error response
Forbidden error
HTTP Status code403
Content
# 다른 유저의 pk를 썼을 때
{
"detail": "다른 사용자에 대한 요청은 수행할 수 없습니다."
}
Not Found error
HTTP Status code404
Content
# 존재하지 않는 pk 입력 했을 때
{
"detail": "찾을 수 없습니다."
}