Delete Discussion Reference

This example request illustrates how to delete a discussion. Discussions can be deleted only by the user that created the discussion. If you delete a discussion reference, it is recommended that you delete the underlying discussion as well in order to clean up unused data.

JSON

Request

DELETE /platform/tree/persons/12345/discussion-references/67890
Content-Type: application/x-fs-v1+json
X-Reason: ...change message...
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 204 No Content
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/persons/12345/discussion-references
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0

XML

Request

DELETE /platform/tree/persons/12345/discussion-references/67890
Content-Type: application/x-fs-v1+xml
X-Reason: ...change message...
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 204 No Content
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/persons/12345/discussion-references
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0