0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

cURLを使用してConfluence上の添付ファイルを削除するには (Server/DataCenter)

Posted at
変数
WIKI_USER_NAME Confluenceのユーザー名
WIKI_USER_PASSWORD Confluenceのパスワード
WIKI_BASEURL ConfluenceのベースURL
ATTACHMENT_ID 添付ファイルID
curl -u ${WIKI_USER_NAME}:${WIKI_USER_PASSWORD} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-X DELETE ${WIKI_BASEURL}/rest/api/content/${ATTACHMENT_ID}?status=current
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?