Skip to content

Commit

Permalink
知晓云 OpenAPI 修复删除索引接口错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghengrui-ifanr committed Sep 21, 2022
1 parent a1d5949 commit bbc6de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open-api/data/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ curl_close($ch);
curl -X DELETE \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1
https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1/
```

{% content "deleteIndexPHP" %}
Expand All @@ -864,7 +864,7 @@ https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1
<?php
$shema_id = 1; // 关联表 ID
$index_name = "name_1"; // 索引名
$url = "https://cloud.minapp.com/oserve/v2.6/schema/{$shema_id}/index/{$index_name}";
$url = "https://cloud.minapp.com/oserve/v2.6/schema/{$shema_id}/index/{$index_name}/";

$ch = curl_init();
$header = array(
Expand Down

0 comments on commit bbc6de3

Please sign in to comment.