Detaches a subscription from this topic. All messages retained in the subscription are dropped. Subsequent subscriptions.pull and StreamingPull requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will stop.
HTTP request
POST https://pubsub.googleapis.com/v1/{subscription}:detach
Path parameters
Parameters
subscription
string
Required. The subscription to detach. Format is projects/{project}/subscriptions/{subscription}.