Triggers

Delete a trigger subscription

Changed on

Deletes a trigger subscription from a connection. Use this endpoint when an account or connection should stop receiving a trigger's events. Pass the connection ID and the subscription ID in the path; the subscription must belong to that connection. New events no longer match the subscription, and a polled subscription stops polling. Events already handed off for delivery before the delete are not affected. The delete is permanent; to receive the trigger again, create a new subscription. Returns an empty body.

delete/api/v1/connections/{connection_id}/trigger-subscriptions/{subscription_id}

Request

Path parameters

connection_idstring required

ID of the connection, in this environment. Up to 64 characters.

subscription_idstring required

ID of the trigger subscription to delete. It must belong to the connection named in the path.

Response

The subscription was deleted; empty body

ProtobufEmpty required

service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Changes