Skip to main content
Glama
delete-estimate-option-note.ts968 B
import { createAction, Property } from "@activepieces/pieces-framework"; import { housecallProAuth, makeHousecallProRequest } from "../common"; import { HttpMethod } from "@activepieces/pieces-common"; export const deleteEstimateOptionNote = createAction({ auth: housecallProAuth, name: "delete_estimate_option_note", displayName: "Delete estimate option note", description: "Delete a specific estimate option note", props: { estimate_id: Property.ShortText({ displayName: "Estimate ID", required: true }), option_id: Property.ShortText({ displayName: "Option ID", required: true }), note_id: Property.ShortText({ displayName: "Note ID", required: true }), }, async run({ auth, propsValue }) { const response = await makeHousecallProRequest( auth, `/estimates/${propsValue["estimate_id"]}/options/${propsValue["option_id"]}/notes/${propsValue["note_id"]}`, HttpMethod.DELETE ); return response.body; }, });

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