unpublish_entry
Unpublish one or multiple Contentful entries in a single operation. Accepts a single entry ID or an array of up to 100 entry IDs to unpublish using standard or bulk methods.
Instructions
Unpublish an entry or multiple entries. Accepts either a single entryId (string) or an array of entryIds (up to 100 entries). For a single entry, it uses the standard unpublish operation. For multiple entries, it automatically uses bulk unpublishing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entryId": "<entryId>",
"spaceId": "<spaceId>",
"environmentId": "<environmentId>"
},
"name": "unpublish_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | Yes | ID of the entry to unpublish, or an array of entry IDs (max: 100) | |
| spaceId | Yes | The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear. | |
| environmentId | Yes | The ID of the environment within the space, by default this will be called Master | master |