Delete PDF

URL: /segments/remote_delete2
Post Data: session_id, target_id

session_id

The unique key returned in the initial login call.

target_id

The value of target_lang_id obtained when the PDF was uploaded. Alternatively, use any of the target_ids returned by the remote_get_doc_list call.

Returns

On failure the HTTP status code will be set to something other than 200.

On success, a JSON structure containing the following fields:

success

A boolean indicating if the document could be deleted. If false, the document was not deleted and the 'msg' field will contain further details.

msg

Additional details about the operation such as why the PDF could not be deleted from the system.

URL: /segments/remote_delete (Deprecated)
Post Data: session_id, target_id

session_id

The unique key returned in the initial login call.

target_id

The value of target_lang_id obtained when the PDF was uploaded.

Returns

On success the HTTP status code will be 200 and the PDF and all translations will have been removed from the system.

On failure the HTTP status code will be set to something other than 200 and the content will describe the nature of the problem..