View as Markdown
Resource Guru icon

Resource Guru ACTION

Delete Booking

Delete a specific booking identified by Id. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Resource Guru account once, then configure and run Delete Booking from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "resource_guru-delete-booking",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    resource_guru: { authProvisionId: "apn_xxxxxxx" },
    bookingId: 10,
    affects: "Affects",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Delete Booking inputs
Property Type Description
bookingId Booking Id integer
The unique identifier of the booking.
Required Dynamic
affects Affects string
Specify how the operation affects other occurrences of a repeat booking.
Required
date Date string
The date to delete in YYYY-MM-DD format, for example 2023-12-20.
Optional
removeForAll Remove For All boolean
Delete the date for all resources on the booking.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
resource_guru-delete-booking
Version
0.0.2
App
Resource Guru
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes