您可以按照以下格式使用
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
|
|
|