Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete all attachments in a confluence page using rest api

Divya Tresa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2020

hello ,

I am aware we can delete an attachment from page using the attachment id

 

is there a way to Delete all attachments in a confluence page using rest api?

 

Thanks

1 answer

0 votes
Jimmy Seddon
Community Champion
December 4, 2020

Hi @Divya Tresa,

Welcome to the Community!

I don't believe delete is an option from the REST API.  You should check out this knowledge base article:

https://confluence.atlassian.com/confkb/confluence-rest-api-lacks-delete-method-for-attachments-715361922.html

I know the article references server but I looks as if the same is also true for Confluence Cloud.

I hope that helps!

-Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events