您可使用此格式的
delete
參數刪除資產:
https://s7ugc1.scene7.com/ugc/image?op=delete&shared_secret=fece4b21-87ee-47fc-9b99-2e29b78b602&image_name=1442564.tif
下面是刪除影像資產時的回應範例:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<scene7>
<user_generated_content>
<response>
<serviceName>User Generated Content - Images</serviceName>
<version>1.0.0</version>
<operationName>delete</operationName>
<serviceStatus>SUCCESS</serviceStatus>
<title>Delete request for1442564.tif</title>
<message>Your file was successfully deleted</message>
</response>
</user_generated_content>
</scene7>
您可以在 URL 查詢字串中使用以下欄位來刪除資產:
URL 參數
|
必需/可選
|
值
|
op
|
必要
|
delete
|
shared_secret
|
必要
|
公司的共用密鑰。
|
-
對於影像:
image_name
-
適用於向量:
fxg_name
|
必要
|
要刪除的資產名稱。
|
範例影像 URL:
https://s7ugc1.scene7.com/ugc/image?op=delete&shared_secret=fece4b21-87ee-47fc-9b99-2e29b78b602&image_name=1442564.tif
範例向量 URL:
https://s7ugc1.scene7.com/ugc/vector?op=delete&shared_secret=2160a8fa-cec6-45ba-8d59- ca595f6d2b47& &fxg_name=8875744.fxg
|
|
|