Skip to content

DataAPI SDK japanese MT.DataAPI Endpoint method deleteEntry

Taku AMANO edited this page Jul 6, 2013 · 8 revisions

deleteEntry

ブログ記事を削除します

DELETE https://your-host/your-mt-api.cgi/v1/sites/:site_id/entries/:entry_id

パラメータ

パラメータ名 タイプ 必須 説明
siteId Number | Object | Function * ブログID
entryId Number | Object | Function * ブログ記事ID
callback Function

戻り値

XMLHttpRequest: XMLHttpRequestオブジェクト

api.deleteEntry(siteId, entryId, function(response) {
  if (response.error) {
    // Handle error
    return;
  }

  // Do stuff
});

Clone this wiki locally