Microsoft Office 365 · Arazzo Workflow

Microsoft Office 365 Cancel Event

Version 1.0.0

Create an event, read it back to confirm, then delete it from the calendar.

1 workflow 1 source API 1 provider
View Spec View on GitHub CloudCollaborationEnterpriseMicrosoftProductivityArazzoWorkflows

Provider

microsoft-office-365

Workflows

cancel-event
Book an event then cancel it after confirming it exists.
Creates an event via POST /me/events (201), reads it via GET /me/events/{event-id} (200), then deletes it via DELETE /me/events/{event-id} (204).
3 steps inputs: endDateTime, startDateTime, subject, timeZone outputs: cancelledEventId
1
createEvent
Create the event on the default calendar.
2
confirmEvent
Read the event back by id to confirm it was booked.
3
deleteEvent
Delete the event from the calendar. Returns 204 no content.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Office 365 Cancel Event
  summary: Create an event, read it back to confirm, then delete it from the calendar.
  description: >-
    A full event lifecycle that books and then cancels a meeting. The workflow
    creates an event, reads it back to confirm the booking exists, and then
    deletes the event from the calendar. The delete returns 204 with no content.
    This supports tentative bookings that are later withdrawn. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: calendarApi
  url: ../openapi/microsoft-office-365-calendar-api-openapi.yml
  type: openapi
workflows:
- workflowId: cancel-event
  summary: Book an event then cancel it after confirming it exists.
  description: >-
    Creates an event via POST /me/events (201), reads it via GET
    /me/events/{event-id} (200), then deletes it via DELETE /me/events/{event-id}
    (204).
  inputs:
    type: object
    required:
    - subject
    - startDateTime
    - endDateTime
    - timeZone
    properties:
      subject:
        type: string
        description: The subject of the event.
      startDateTime:
        type: string
        description: The event start date-time.
      endDateTime:
        type: string
        description: The event end date-time.
      timeZone:
        type: string
        description: The time zone name for the date-times.
  steps:
  - stepId: createEvent
    description: Create the event on the default calendar.
    operationId: createEvent
    requestBody:
      contentType: application/json
      payload:
        subject: $inputs.subject
        start:
          dateTime: $inputs.startDateTime
          timeZone: $inputs.timeZone
        end:
          dateTime: $inputs.endDateTime
          timeZone: $inputs.timeZone
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      eventId: $response.body#/id
  - stepId: confirmEvent
    description: Read the event back by id to confirm it was booked.
    operationId: getEvent
    parameters:
    - name: event-id
      in: path
      value: $steps.createEvent.outputs.eventId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subject: $response.body#/subject
  - stepId: deleteEvent
    description: Delete the event from the calendar. Returns 204 no content.
    operationId: deleteEvent
    parameters:
    - name: event-id
      in: path
      value: $steps.createEvent.outputs.eventId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      cancelledEventId: $steps.createEvent.outputs.eventId
  outputs:
    cancelledEventId: $steps.deleteEvent.outputs.cancelledEventId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-office-365-cancel-event-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.