Answers.Body: <p>You could use API4 explorers</p>
  <p>/civicrm/api4#/explorer/Custom_Gift_Aid_Declaration/delete</p>
  <p>Or via the searchkit</p>
  <p>/civicrm/admin/search#/create/Custom_Gift_Aid_Declaration?params=%7B&quot;version&quot;:4,&quot;select&quot;:%5B&quot;id&quot;,&quot;Eligible_for_Gift_Aid:label&quot;,&quot;Start_Date&quot;,&quot;End_Date&quot;,&quot;Reason_Ended:label&quot;,&quot;Source&quot;,&quot;Notes&quot;,&quot;name_of_charity&quot;,&quot;High_Rate_Tax_Payer:label&quot;,&quot;Declaration_Method:label&quot;,&quot;Gift_Aid_confirmation_date_1&quot;%5D,&quot;orderBy&quot;:%7B%7D,&quot;where&quot;:%5B%5D,&quot;groupBy&quot;:%5B%5D,&quot;join&quot;:%5B%5D,&quot;having&quot;:%5B%5D%7D</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-07T15:07:43.147Z
Answers.Text: Thanks Pradeep. That's a little too advanced for me. Guess there's no easier way?
Answers.UserDisplayName: Mike Wilson
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-07T15:18:34.620Z
Answers.Text: You could build a searchkit and delete all the records
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-19T12:28:24.603Z
Answers.Text: Thanks so much Pradeep. i have managed to fix it thanks to you!
Answers.UserDisplayName: Mike Wilson
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-07T14:45:42.983Z
Answers.LastActivityDate: 2024-03-07T15:21:18.343Z
Answers.LastEditDate: 2024-03-07T15:21:18.343Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>We had an issue with one of our forms and so we now need to delete a load of gift aid declarations from CiviCRM that are blank. Is there anyway we can do this in bulk rather than doing it manually.</p>
  <p>Any help appreciated.</p>
  
Tags: <gift-aid-extension>
Title: Deleting blank Gift Aids
ThreadText: # Deleting blank Gift Aids
  
  (Asked by: username_0 on 2024-03-07)
  
  We had an issue with one of our forms and so we now need to delete a load of gift aid declarations from CiviCRM that are blank. Is there anyway we can do this in bulk rather than doing it manually.
  
  Any help appreciated.
  
  **Tags:** gift-aid-extension
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-03-07. Score: 1
  
  You could use API4 explorers
  
  /civicrm/api4#/explorer/Custom\_Gift\_Aid\_Declaration/delete
  
  Or via the searchkit
  
  /civicrm/admin/search#/create/Custom\_Gift\_Aid\_Declaration?params=%7B"version":4,"select":%5B"id","Eligible\_for\_Gift\_Aid:label","Start\_Date","End\_Date","Reason\_Ended:label","Source","Notes","name\_of\_charity","High\_Rate\_Tax\_Payer:label","Declaration\_Method:label","Gift\_Aid\_confirmation\_date\_1"%5D,"orderBy":%7B%7D,"where":%5B%5D,"groupBy":%5B%5D,"join":%5B%5D,"having":%5B%5D%7D
  
  > **Comments:**
  > **username_0**: Thanks Pradeep. That's a little too advanced for me. Guess there's no easier way?  
  > **username_1**: You could build a searchkit and delete all the records  
  > **username_0**: Thanks so much Pradeep. i have managed to fix it thanks to you!  
  
  ---
  
  