Flows API
  • Globus Flows
  • Overview
  • Getting Started
    • How to Run a Flow
    • How to Monitor a Flow Run
    • How to Create a Flow
  • Authoring Flows
    • Introduction
    • Actions
    • Expressions
    • Choice States
    • Wait States
    • Fail States
    • Pass States
    • Protecting Secrets
    • Handling Exceptions
    • Performing Actions as Different Users
    • Run Context
    • Validating Flow Definitions
  • Authoring Input Schemas
  • Authentication and Authorization
  • Consents and Resuming Runs
  • Permissions
  • Limits
  • Hosted Action Providers
    • Hello World
    • Globus Search - Ingest Task
    • Globus Search - Delete Task
    • Send Notification Email
    • Wait For User Selection
    • Expression Evaluation
    • DataCite Mint
    • Transfer APs
    • Compute AP
  • Example Flows
    • Simple Transfer
    • Move (copy and delete) files
    • Transfer and Share Files
    • Two Stage Globus Transfer
    • Transfer After Approval
    • Looping Batched Move
    • Tar and Transfer with Globus Compute
Skip to main content
Globus Docs
  • APIs
    Auth Flows Groups Search Timers Transfer Globus Connect Server Compute Helper Pages
  • Applications
    Globus Connect Personal Globus Connect Server Premium Storage Connectors Compute Command Line Interface Python SDK JavaScript SDK
  • Guides
  • Support
    FAQs Mailing Lists Contact Us Check Support Tickets
  1. Home
  2. Globus Services
  3. Globus Flows
  4. Hosted Action Providers
  5. Globus Search - Delete Task

Action Provider: Search - Delete Task

URL: https://actions.globus.org/search/delete

Scope: https://auth.globus.org/scopes/5fac2e64-c734-4e6b-90ea-ff12ddbf9653/search_delete

Synchronous / Asynchronous: Asynchronous

This action provider supports deleting content from an existing Globus Search index. Content can be deleted by subject, by entry ID, or by query, depending on how the "Parameters" are structured in the action provider input.

The user calling the action provider must have permission to write to the index referenced. Requests for the state of an action will look up the state of the task_id in Globus Search, ensuring the status remains up-to-date.

Since Globus Search does not support cancellation of tasks, this action provider also does not support cancellation of its actions.

Usage Example

The example below demonstrates how to use the action provider.

  • Flow
  • Input schema
  • Sample input body
{
  "StartAt": "SearchIngest",
  "States": {
    "SearchIngest": {
      "Type": "Action",
      "ActionUrl": "https://actions.globus.org/search/delete",
      "Parameters": {
        "search_index": "11111111-a85c-473f-9bb6-04dfc6344dd2",
        "delete_by": "subject",
        "subject.$": "$.term"
      },
      "End": true
    }
  }
}
Example Input
{
  "properties": {
    "term": {
      "title": "Term to delete",
      "description": "The term will be deleted from the glossary",
      "type": "string"
    }
  },
  "required": [
    "term"
  ],
  "additionalProperties": false
}
{
  "term": "numerator"
}
  • Globus Flows
  • Overview
  • Getting Started
    • How to Run a Flow
    • How to Monitor a Flow Run
    • How to Create a Flow
  • Authoring Flows
    • Introduction
    • Actions
    • Expressions
    • Choice States
    • Wait States
    • Fail States
    • Pass States
    • Protecting Secrets
    • Handling Exceptions
    • Performing Actions as Different Users
    • Run Context
    • Validating Flow Definitions
  • Authoring Input Schemas
  • Authentication and Authorization
  • Consents and Resuming Runs
  • Permissions
  • Limits
  • Hosted Action Providers
    • Hello World
    • Globus Search - Ingest Task
    • Globus Search - Delete Task
    • Send Notification Email
    • Wait For User Selection
    • Expression Evaluation
    • DataCite Mint
    • Transfer APs
    • Compute AP
  • Example Flows
    • Simple Transfer
    • Move (copy and delete) files
    • Transfer and Share Files
    • Two Stage Globus Transfer
    • Transfer After Approval
    • Looping Batched Move
    • Tar and Transfer with Globus Compute
© 2010-2025 The University of Chicago Legal Privacy Accessibility