Delete Source Folder
This example request illustrates how to delete a source folder. Sources in the folder must be moved to another folder or deleted individually before the folder can be deleted.
JSON
Request
DELETE /platform/sources/collections/sf-MMMM-MMM Accept: application/x-fs-v1+json Content-Type: application/x-fs-v1+json Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content Content-type: application/x-fs-v1+json X-entity-id: sf-MMMM-MMM X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/sources/collections/sf-MMMM-MMM Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-transform, must-revalidate, max-age=0
XML
Request
DELETE /platform/sources/collections/sf-MMMM-MMM Accept: application/x-fs-v1+xml Content-Type: application/x-fs-v1+xml Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 204 No Content Content-type: application/x-fs-v1+xml X-entity-id: sf-MMMM-MMM X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/sources/collections/sf-MMMM-MMM Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-transform, must-revalidate, max-age=0
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.