はじめに

導入

運用

参加・貢献

リソース

GitHubでこのページを編集

Home / 5 / web_api / baser_admin_api / bc custom content / custom_entries / カスタムエントリーの削除

カスタムエントリーの削除

指定したカスタムエントリーを削除します。

実行に必要な権限

システム管理者以上

リクエスト

DELETE /baser/api/admin/bc-custom-content/custom_entries/{customEntryId}.json

クエリパラメーター

パラメーター名 必須 内容
custom_table_id 数値 カスタムテーブルID

パスパラメーター

パラメーター名 必須 内容
customEntryId 数値 カスタムエントリーID

レスポンス例

レスポンスボディ

{
  "entry": {
    "id": 6,
    "custom_table_id": 5,
    "name": "工業",
    "title": "工業",
    "parent_id": null,
    "lft": 7,
    "rght": 8,
    "level": 0,
    "status": false,
    "publish_begin": null,
    "publish_end": null,
    "published": null,
    "creator_id": null,
    "modified": "2023-04-06T13:02:55+09:00",
    "created": "2023-04-06T13:02:55+09:00",
    "custom_table": {
      "id": 5,
      "type": "1",
      "name": "country",
      "title": "国",
      "display_field": "1",
      "has_child": true,
      "created": "2023-04-06T10:30:45+09:00",
      "modified": "2023-04-06T10:30:45+09:00"
    }
  },
  "message": "フィールド「工業」を削除しました。"
}