Skip to content

Commit

Permalink
delete , updateの説明文修正
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabi-tr committed Jun 12, 2024
1 parent 34d7702 commit 2193a06
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ It helps you to use microCMS from JavaScript and Node.js applications.
<a href="https://discord.com/invite/K3DPqw4EJ2" target="_blank"><img src="https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"></a>

## Tutorial

See the [official tutorial](https://document.microcms.io/tutorial/javascript/javascript-top).

## Getting Started
Expand Down Expand Up @@ -334,7 +335,7 @@ client

#### Update content

The `update` method is used to update content by specifying the `contentId`.
The `update` method is used to update a single content specified by its ID.

```javascript
client
Expand All @@ -351,7 +352,7 @@ client

##### Update object form content

When updating object content, use the `update` method without specifying a `contentId`.
When updating object content, use the `update` method without specifying a `contentId` property.

```javascript
client
Expand All @@ -367,7 +368,7 @@ client

#### Delete content

The `delete` method is used to delete content by specifying the `contentId`.
The `delete` method is used to delete a single content specified by its ID.

> [!WARNING]
> Only list content APIs are available. Please note that object content APIs cannot be used.
Expand Down

0 comments on commit 2193a06

Please sign in to comment.