Topic Destroy

입력한 pk와 일치하는 Topic object를 삭제합니다.

URL

/topic/<pk>/

Method

DELETE

Destroy is only for Staff

Topic Destroy는 일반 유저가 호출하는 것이 불가능합니다. Staff/SuperUser일 경우에만 호출 수 있습니다.


Success Response

HTTP Status Code

204

Content

None

Error Response

Forbidden Error

HTTP Status Code

403

Content

# 삭제를 시도하는 유저가 본인이 아닐 경우
{
    "detail": "이 작업을 수행할 권한(permission)이 없습니다."
}

results matching ""

    No results matching ""