跳至内容
ShopentlyLearn

删除 — 属性与值

永久删除产品功能定义和值。

DELETE/api/v1/features/{identity}

cURL 请求

curl --disable --globoff --fail-with-body --silent --show-error \
  --proto '=https' --connect-timeout 5 --max-time 30 \
  --request DELETE \
  --url 'https://shop.onshopently.com/api/v1/features/example?expected_version=1' \
  --header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN' \
  --header 'Idempotency-Key: example-delete_feature_api_v1_features__identity__delete'

响应

{
  "data": {
    "deleted": true,
    "id": "example",
    "version": null
  },
  "meta": {
    "request_id": "example"
  }
}

所需权限

身份验证
访问令牌
最低套餐
STANDARD
密钥权限
删除特征catalog.feature:delete