Skip to main content

 Web service API

How to use PageSeeder's Web service API

delete member draft edit

/members/{member}/uris/{uri}/drafts/{editid} [DELETE]

com.pageseeder.psml.ArchiveDraft

Description

Delete a draft edit.

This service does not remove empty fragments properly and should only be used when the member no longer has access to the document’s group. Instead use Service: /members/{member}/groups/{group}/uris/{uri}/drafts/{editid} [DELETE]

Parameters

No parameters required.

Permission

Only the draft author themselves, or a manager of the group containing the draft, can invoke this service.

Response

The XML returned is:

<draft-delete [fragmentdeleted="true"] />
 

Error Handling

0x1215 Edit ID not found
Created on , last edited on