Skip to main content
Glama

mcp-google-sheets

delete-paste.ts587 B
import { Property, createAction } from '@activepieces/pieces-framework'; import { makeClient } from '../common'; import { pastefyAuth } from '../..'; export default createAction({ auth: pastefyAuth, name: 'delete_paste', displayName: 'Delete Paste', description: 'Deletes a paste', props: { paste_id: Property.ShortText({ displayName: 'Paste ID', required: true, }), }, async run(context) { const client = makeClient(context.auth, context.propsValue); const res = await client.deletePaste(context.propsValue.paste_id); return res; }, });

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/activepieces/activepieces'

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