Delete a trigger subscription
Changed onDeletes 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.
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the connection, in this environment. Up to 64 characters.
ID of the trigger subscription to delete. It must belong to the connection named in the path.
Response
The subscription was deleted; empty body
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
Changes
- info
endpoint added
- info