Skip to main content
Glama

contentful-mcp

unpublish_asset

Unpublish an asset from a Contentful space by specifying the asset ID, space ID, and environment ID. This action removes the asset from the published state, making it unavailable in the specified environment.

Instructions

Unpublish an asset

Input Schema

NameRequiredDescriptionDefault
assetIdYes
environmentIdYesThe ID of the environment within the space, by default this will be called Mastermaster
spaceIdYesThe ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.

Input Schema (JSON Schema)

{ "properties": { "assetId": { "type": "string" }, "environmentId": { "default": "master", "description": "The ID of the environment within the space, by default this will be called Master", "type": "string" }, "spaceId": { "description": "The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear.", "type": "string" } }, "required": [ "assetId", "spaceId", "environmentId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivo-toby/contentful-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server