Remove Wiki Attachment

Removes files attached to Wiki.

Role

Administrator 
Normal User 

Method

DELETE 

URL

/api/v2/wikis/:wikiId/attachments/:attachmentId 

URL parameters

Parameter Name Type Description
wikiId Number Wiki page’s ID
attachmentId Number Attachment’s ID

Response example

Status Line / Response Header

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

{ 
    "id": 2, 
    "name": "Duke.png", 
    "size": 196186, 
    "createdUser": { 
        "id": 1, 
        "userId": "admin", 
        "name": "admin", 
        "roleType": 1, 
        "lang": null, 
        "mailAddress": "eguchi@nulab.example" 
    }, 
    "created": "2014-07-11T06:26:05Z" 
}