public Integer delete ( CMAWebhook webhook ) { final String webhookId = getResourceIdOrThrow ( webhook , "webhook" ) ; final String spaceId = getSpaceIdOrThrow ( webhook , "webhook" ) ; return service . delete ( spaceId , webhookId ) . blockingFirst ( ) . code ( ) ; }
Delete a given Webhook .