Work.delete: Difference between revisions

From Safe Creative API
Jump to navigation Jump to search
w>Jguillo
No edit summary
m 3 revisions imported
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
** '''state''': ready
** '''state''': ready


= Sample =
= Example =
REQUEST:
REQUEST:



Latest revision as of 08:07, 7 May 2021

Deletes a work

Info

  • Component name: work.delete
  • Signature: Requires signature using the authkey's private key
  • Timestamp: Requires ztime parameter
  • Authorization level: MANAGE
  • API trust level: Standard

Parameters

  • authkey*: Authorization key
  • ztime*: Z-Timestamp
  • code*: Code of the work to be deleted

* Required parameter

Returns

  • restvalueresponse
    • state: ready

Example

REQUEST:

https://api.safecreative.org/v2/
?component=work.delete
&authkey=1i5g2aaf2bz09lyo867cuimqg
&code=1004200146116
&ztime=1271749851420
&signature=f21f97478f8fe0ed2e9be65ee440f43da030228e

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<restvalueresponse>
  <state>ready</state>
</restvalueresponse>