Skip to main content

Request

Unregister a trigger to stop it from invoking its associated function.

Response

This message typically does not have a dedicated response. The framework will stop invoking the function via this trigger after processing the unregister request.

Examples

Unregister Trigger by ID

Unregister Trigger with Type

Unregister Multiple Triggers

To unregister multiple triggers, send separate messages for each:

Error Cases

Trigger Not Found

If the trigger ID doesn’t exist, the framework may silently ignore the request or log a warning. The exact behavior depends on the framework implementation. No error response is sent to the client in most cases, as unregister operations are idempotent.

Notes

  • Unregistering a trigger does not unregister the associated function
  • The trigger_type field is optional and defaults to None if not provided
  • Unregister operations are idempotent - unregistering a non-existent trigger is safe
  • In-flight invocations triggered before unregistration may still complete
  • The trigger will stop accepting new events immediately after unregistration
  • The associated function remains registered and can be invoked directly or by other triggers