Microsoft Teams Bot icon

Microsoft Teams Bot

Use Bot Framework conversation and activity APIs for Microsoft Teams bots

Activity → Delete Activity

AI-generated

Summary

Delete an existing activity in a Microsoft Teams conversation by specifying the Bot Framework service URL, conversation ID, and activity ID.

Inputs

  • Service URL (required) — Bot Framework service URL, typically obtained from trigger output.
  • Conversation ID (required) — ID of the conversation containing the activity, typically from trigger output.
  • Activity ID (required) — ID of the activity to delete.
  • Execution Options — Optional settings including debug output inclusion, output mode (pass through, merge, or response only), retry count, and retry delay in milliseconds.

Output shape

a JSON object containing the HTTP method, request path, and the API response confirming deletion status. The structure can be merged or filtered according to the 'Execution Options'.

The operation performs an HTTP DELETE request to the Bot Framework API endpoint for the specified conversation and activity. Retries are configurable on failure. Output includes request metadata and can optionally include debugging info. Errors are thrown if required inputs are missing.

Links

Discussion