Skip to main content

 Web service API

How to use PageSeeder's Web service API

delete uri draft

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

com.pageseeder.psml.ArchiveDraft

Description

Deletes a draft edit. If the fragment has no content it is also deleted – this is usually for newly created fragments that have not been saved.

Parameters

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

Permission

Permissions requirements to be updated.

Response

The XML returned is:

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

Error Handling

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