Contents

Remove Wiki Attachment

Removes files attached to Wiki.

Role

Administrator
Normal User

Method

DELETE

URL

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

URL parameters

Parameter NameTypeDescription
wikiIdNumberWiki page’s ID
attachmentIdNumberAttachment’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,
        "nulabAccount": {
            "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
            "name": "admin",
            "uniqueId": "admin"
        },
        "mailAddress": "eguchi@nulab.example",
        "lastLoginTime": "2022-09-01T06:35:39Z"
    },
    "created": "2014-07-11T06:26:05Z"
}