The below examples illustrate a number of use cases to delete a set of Actions.
TABLE OF CONTENTS
Deletes in Fluid are non permanent, Actions that are deleted are internally marked as archived and are typically no longer included as part of the live data set that is used within Fluid.
The maximum number of Actions that can be deleted in a single bulk REST API call is 50.
Delete multiple Actions
cURL
curl --user username:patToken --location --request DELETE 'http://organisation.fluid.work/rest/api/action?fields=All&expand=All' \ --header 'Content-Type: application/json' \ --data '[ { "id": 4417 }, { "guid": "e26af371-b539-47f4-834b-a6ac2bf6cdd6" } ]'
Sample Response
Status code: 200
JSON
{ "fields": { "assignee": [ { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" } ], "attachmentCount": 0, "author": { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" }, "boardCategory": 0, "boardId": 0, "boardGuid": "7505a102-93fc-4465-a23b-2eb6303f7f71", "boardTitle": "Bulk", "businessValue": 0, "chatCount": 0, "contentType": "Process", "createDate": "2024-02-16T18:34:40.0000000", "description": "Sample Delete 1 - Description", "descriptionHtml": "Sample Delete 1 - Description", "dueDate": null, "endDate": null, "isClosed": false, "isCalculated": false, "isOwner": true, "modifiedBy": { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" }, "modifiedDate": "2024-02-16T18:34:40.0000000", "principalGuid": "7505a102-93fc-4465-a23b-2eb6303f7f71", "shortCode": "BE-93", "startDate": null, "status": "Not Started", "statusCode": 1, "taskType": "Task", "title": "Sample Delete 1 - Title", "titleRichText": "Sample Delete 1 - Title", "titleHtml": "Sample Delete 1 - Title" }, "id": 4417, "guid": "289df528-e74d-4b0f-a69f-455ffebd5905", "url": "https://organisation.fluid.work/rest/api/action/4417" }, { "fields": { "assignee": [ { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" } ], "attachmentCount": 0, "author": { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" }, "boardCategory": 0, "boardId": 0, "boardGuid": "7505a102-93fc-4465-a23b-2eb6303f7f71", "boardTitle": "Bulk", "businessValue": 0, "chatCount": 0, "contentType": "Process", "createDate": "2024-02-16T18:34:41.0000000", "description": "Sample Delete 2 - Description", "descriptionHtml": "Sample Delete 2 - Description", "dueDate": null, "endDate": null, "isClosed": false, "isCalculated": false, "isOwner": true, "modifiedBy": { "id": 603, "guid": "f1cb6467-0262-4539-9148-7b869defd817", "name": "David Burt", "userName": "david.burt", "email": "dump18@fluidbsg.com" }, "modifiedDate": "2024-02-16T18:34:41.0000000", "principalGuid": "7505a102-93fc-4465-a23b-2eb6303f7f71", "shortCode": "BE-94", "startDate": null, "status": "Not Started", "statusCode": 1, "taskType": "Task", "title": "Sample Delete 2 - Title", "titleRichText": "Sample Delete 2 - Title", "titleHtml": "Sample Delete 2 - Title" }, "id": 4418, "guid": "e26af371-b539-47f4-834b-a6ac2bf6cdd6", "url": "https://organisation.fluid.work/rest/api/action/4418" }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article