Contents

Delete a content

Craft Cross CMSのコンテンツを削除します。

Required Scope

APIの実行に必要なScopeです。

beta.cms.content.delete

Required Role

管理画面でScopeを追加する際に必要な権限です。

Craft Cross CMS > CMSの編集
post/v2beta/cms/content/delete

Request

  • Base URL
    https://api.karte.io
  • URL
    https://api.karte.io/v2beta/cms/content/delete
  • Auth
    HTTP bearer

Headers

x-karte-apistring

今後利用する可能性のある予約語です。現在は設定不要です。

authorizationstring

認証情報を含むトークンです。"Authorization" ヘッダーに Bearer <token> の形式で設定してください。

content-typestring

リクエストのコンテンツタイプを指定します。通常は application/json を使用してください。

Request body

modelIdstring required

コンテンツが所属するモデルのID

contentIdstring required

コンテンツのID

kickHookV2boolean

この操作でHook V2のトリガーを発火するかどうか。(参照)

Example request

{
  "modelId": "6347f05d5d18d4536af5f336",
  "contentId": "6109f05d5d18d6006af5f385",
  "kickHookV2": true
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.