public int delete ( CMAApiKey key ) { assertNotNull ( key , "key" ) ; final String space = getSpaceIdOrThrow ( key , "key" ) ; final String id = getResourceIdOrThrow ( key , "key" ) ; return service . delete ( space , id ) . blockingFirst ( ) . code ( ) ; }
Delete a given api key from the configured space .